index.d.ts 407 B

1234567891011121314
  1. /// <reference lib="dom" />
  2. declare const _fetch: typeof fetch;
  3. declare const _Request: typeof Request;
  4. declare const _Response: typeof Response;
  5. declare const _Headers: typeof Headers;
  6. declare module "cross-fetch" {
  7. export const fetch: typeof _fetch;
  8. export const Request: typeof _Request;
  9. export const Response: typeof _Response;
  10. export const Headers: typeof _Headers;
  11. export default fetch;
  12. }