Remove deprecated URL API usage

This commit is contained in:
Jamie Magee
2020-04-11 17:04:55 +02:00
parent ab10999b09
commit 6543260f0a
4 changed files with 31 additions and 36 deletions

View File

@@ -1,5 +1,4 @@
import http = require('http')
import url = require('url')
export interface IHeaders {
[key: string]: any
@@ -73,7 +72,7 @@ export interface IHttpClientResponse {
export interface IRequestInfo {
options: http.RequestOptions
parsedUrl: url.Url
parsedUrl: URL
httpModule: any
}