UNPKG

@opentelemetry/instrumentation-connect

Version:
10 lines 449 B
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