diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index 44a4e9d77e..d800068e84 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -46,7 +46,7 @@ export interface RequestOptions { /** Fix the control characters (U+0000 through U+001F) before JSON parse response. Default is false. */ fixJSONCtlChars?: boolean; /** Request headers. */ - headers?: object; + headers?: Object; /** * Request timeout in milliseconds for connecting phase and response receiving phase. * Defaults to exports. @@ -109,7 +109,7 @@ export interface RequestOptions { /** Enable proxy request, default is false. */ enableProxy?: boolean; /** proxy agent uri or options, default is null. */ - proxy?: string | object; + proxy?: string | Object; } /**