File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,13 @@ import { flush } from './sdk';
20
20
21
21
const DEFAULT_SHUTDOWN_TIMEOUT = 2000 ;
22
22
23
- export interface ExpressRequest extends http . IncomingMessage {
24
- [ key : string ] : any ;
23
+ export interface ExpressRequest {
25
24
baseUrl ?: string ;
25
+ connection ?: {
26
+ remoteAddress ?: string ;
27
+ } ;
26
28
ip ?: string ;
29
+ method ?: string ;
27
30
originalUrl ?: string ;
28
31
route ?: {
29
32
path : string ;
@@ -33,6 +36,11 @@ export interface ExpressRequest extends http.IncomingMessage {
33
36
} ,
34
37
] ;
35
38
} ;
39
+ query ?: {
40
+ // It can be: undefined | string | string[] | ParsedQs | ParsedQs[] (from `qs` package), but we dont want to pull it.
41
+ [ key : string ] : unknown ;
42
+ } ;
43
+ url ?: string ;
36
44
user ?: {
37
45
[ key : string ] : any ;
38
46
} ;
You can’t perform that action at this time.
0 commit comments