mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
473 B
TypeScript
15 lines
473 B
TypeScript
// Type definitions for zipkin-instrumentation-express 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 express = require('express');
|
|
import { Tracer } from 'zipkin';
|
|
|
|
export interface Options {
|
|
tracer: Tracer;
|
|
}
|
|
|
|
export function expressMiddleware(options: Options): express.RequestHandler;
|