UNPKG

434 BTypeScriptView Raw
1/* tslint:disable-next-line:no-namespace */
2declare namespace Express {
3 export interface Request {
4 // missing from type signature exposed by @types/express
5 aborted: boolean;
6 _metrics_gatherer: {
7 labels?: import('./src/types').LabelSet;
8 };
9 }
10}
11
12/* tslint:disable-next-line:no-namespace */
13declare module 'net' {
14 export interface Socket {
15 _metrics_gatherer?: {
16 bytesRead?: number;
17 bytesWritten?: number;
18 };
19 }
20}