build: typescript 3.7 support (#33717)

This PR updates TypeScript version to 3.7 while retaining compatibility with TS3.6.

PR Close #33717
This commit is contained in:
Andrius
2019-11-09 20:36:22 +02:00
committed by atscott
parent d7ea389c84
commit 1f79e624d1
25 changed files with 342 additions and 192 deletions

View File

@ -142,7 +142,8 @@ export declare class RequestOptions {
method: RequestMethod | string | null;
params: URLSearchParams;
responseType: ResponseContentType | null;
/** @deprecated */ search: URLSearchParams;
/** @deprecated */ set search(params: URLSearchParams);
/** @deprecated */ get search(): URLSearchParams;
url: string | null;
withCredentials: boolean | null;
constructor(opts?: RequestOptionsArgs);