mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
var vs let + tabs vs spaces
This commit is contained in:
Vendored
+3
-3
@@ -8,7 +8,7 @@
|
||||
interface Window {
|
||||
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||
}
|
||||
declare var fetch: typeof window.fetch;
|
||||
declare let fetch: typeof window.fetch;
|
||||
|
||||
declare type HeadersInit = Headers | string[][] | { [key: string]: string };
|
||||
declare class Headers {
|
||||
@@ -40,8 +40,8 @@ interface Body {
|
||||
|
||||
declare type RequestInfo = Request | string;
|
||||
declare class Request {
|
||||
constructor(input: RequestInfo, init?: RequestInit);
|
||||
|
||||
constructor(input: RequestInfo, init?: RequestInit);
|
||||
|
||||
method: string;
|
||||
url: string;
|
||||
headers: Headers;
|
||||
|
||||
Reference in New Issue
Block a user