This commit is contained in:
17
node_modules/fetch-ponyfill/index.d.ts
generated
vendored
Normal file
17
node_modules/fetch-ponyfill/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
export = fetchPonyfill;
|
||||
|
||||
declare function fetchPonyfill(options?: fetchPonyfill.BootstrapOptions): fetchPonyfill.BootstrapRetVal;
|
||||
|
||||
declare namespace fetchPonyfill {
|
||||
interface BootstrapOptions {
|
||||
Promise?: Function;
|
||||
XMLHttpRequest?: Function;
|
||||
}
|
||||
|
||||
interface BootstrapRetVal {
|
||||
fetch: typeof fetch;
|
||||
Headers: typeof Headers;
|
||||
Request: typeof Request;
|
||||
Response: typeof Response;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user