diff --git a/types/got/index.d.ts b/types/got/index.d.ts index f76a907b7d..30a5b2c0be 100644 --- a/types/got/index.d.ts +++ b/types/got/index.d.ts @@ -80,7 +80,7 @@ declare namespace got { type GotStreamFn = (url: GotUrl, options?: GotOptions) => GotEmitter & nodeStream.Duplex; - type GotUrl = string | http.RequestOptions | URL; + type GotUrl = string | http.RequestOptions | Url; interface GotBodyOptions extends GotOptions { body?: string | Buffer | nodeStream.Readable;