From ec07164cba842d27d27685cda85360810d9f5114 Mon Sep 17 00:00:00 2001 From: Blake Embrey Date: Fri, 25 May 2018 21:02:29 +0700 Subject: [PATCH] Specify use of `UrlWithStringQuery` over `Url` obj --- src/request.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/request.ts b/src/request.ts index 9e3f0f7..c1f591e 100644 --- a/src/request.ts +++ b/src/request.ts @@ -1,4 +1,4 @@ -import { parse, Url } from 'url' +import { parse, UrlWithStringQuery } from 'url' import { Servie, ServieOptions } from './base' /** @@ -51,7 +51,7 @@ export class Request extends Servie implements RequestOptions { /** * @internal */ - protected [kUrlObject]?: Url + protected [kUrlObject]?: UrlWithStringQuery /** * @internal