fix(plugin-http): adapt to current @types/node (#548)

This commit is contained in:
Gerhard Stöbich 2019-11-19 01:17:57 +01:00 committed by Mayur Kale
parent d80cf56205
commit b57951cbe0
4 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -33,7 +33,7 @@ export const assertSpan = (
hostname: string;
pathname: string;
reqHeaders?: http.OutgoingHttpHeaders;
path?: string;
path?: string | null;
forceStatus?: Status;
component: string;
}

View File

@ -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",

View File

@ -35,7 +35,7 @@ export const assertSpan = (
hostname: string;
pathname: string;
reqHeaders?: http.OutgoingHttpHeaders;
path?: string;
path?: string | null;
component: string;
}
) => {