0.11.13 • Published 4 months ago
@types/zipkin-instrumentation-fetch v0.11.13
Installation
npm install --save @types/zipkin-instrumentation-fetch
Summary
This package contains type definitions for zipkin-instrumentation-fetch (https://github.com/openzipkin/zipkin-js#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/zipkin-instrumentation-fetch.
index.d.ts
// Type definitions for zipkin-instrumentation-fetch 0.11
// Project: https://github.com/openzipkin/zipkin-js#readme
// Definitions by: York Yao <https://github.com/plantain-00>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { Tracer } from 'zipkin';
import fetch from 'node-fetch';
interface Options {
tracer: Tracer;
remoteServiceName: string;
serviceName?: string;
}
declare function wrapFetch(rawFetch: typeof fetch, options: Options): typeof fetch;
export = wrapFetch;
Additional Details
- Last updated: Tue, 15 Feb 2022 00:01:37 GMT
- Dependencies: @types/zipkin, @types/node-fetch
- Global values: none
Credits
These definitions were written by York Yao.