0.11.13 • Published 4 months ago

@types/zipkin-instrumentation-fetch v0.11.13

Weekly downloads
9,356
License
MIT
Repository
github
Last release
4 months ago

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

Credits

These definitions were written by York Yao.

0.11.13

4 months ago

0.11.10

7 months ago

0.11.9

8 months ago

0.11.11

7 months ago

0.11.12

6 months ago

0.11.8

2 years ago

0.11.7

2 years ago

0.11.6

3 years ago

0.11.5

5 years ago

0.11.4

5 years ago

0.11.3

5 years ago

0.11.2

5 years ago

0.11.1

6 years ago

0.11.0

6 years ago