@opentelemetry/instrumentation-connect
Version:
OpenTelemetry instrumentation for `connect` http middleware framework
10 lines • 449 B
TypeScript
import type { HandleFunction, IncomingMessage, Server } from 'connect';
export declare const _LAYERS_STORE_PROPERTY: unique symbol;
export type UseArgs1 = [HandleFunction];
export type UseArgs2 = [string, HandleFunction];
export type UseArgs = UseArgs1 | UseArgs2;
export type Use = (...args: UseArgs) => Server;
export type PatchedRequest = {
[_LAYERS_STORE_PROPERTY]: string[];
} & IncomingMessage;
//# sourceMappingURL=internal-types.d.ts.map