Philipp Horstenkamp 67796af83c
Some checks failed
Lint / pre-commit Linting (push) Failing after 51s
Reinstalled with --fix
2023-11-26 16:51:02 +01:00

18 lines
406 B
TypeScript

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;
}
}