fix(plugin-http): adapt to current @types/node (#548)
This commit is contained in:
parent
d80cf56205
commit
b57951cbe0
|
@ -46,7 +46,7 @@
|
|||
"@types/got": "^9.6.7",
|
||||
"@types/mocha": "^5.2.7",
|
||||
"@types/nock": "^11.1.0",
|
||||
"@types/node": "^12.7.9",
|
||||
"@types/node": "^12.12.9",
|
||||
"@types/request-promise-native": "^1.0.17",
|
||||
"@types/semver": "^6.0.2",
|
||||
"@types/shimmer": "^1.0.1",
|
||||
|
|
|
@ -33,7 +33,7 @@ export const assertSpan = (
|
|||
hostname: string;
|
||||
pathname: string;
|
||||
reqHeaders?: http.OutgoingHttpHeaders;
|
||||
path?: string;
|
||||
path?: string | null;
|
||||
forceStatus?: Status;
|
||||
component: string;
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"@types/got": "^9.6.7",
|
||||
"@types/mocha": "^5.2.7",
|
||||
"@types/nock": "^11.1.0",
|
||||
"@types/node": "^12.7.8",
|
||||
"@types/node": "^12.12.9",
|
||||
"@types/request-promise-native": "^1.0.17",
|
||||
"@types/semver": "^6.0.2",
|
||||
"@types/shimmer": "^1.0.1",
|
||||
|
|
|
@ -35,7 +35,7 @@ export const assertSpan = (
|
|||
hostname: string;
|
||||
pathname: string;
|
||||
reqHeaders?: http.OutgoingHttpHeaders;
|
||||
path?: string;
|
||||
path?: string | null;
|
||||
component: string;
|
||||
}
|
||||
) => {
|
||||
|
|
Loading…
Reference in New Issue