Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 900 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 900 Bytes

Deprecation Notice

This repository is now deprecated. All changes have been merged into the DefinitelyTyped repository. All pull requests and issues should be directed there instead!

typescript-fetch

A TypeScript type definition for the Fetch API

This is based off the Fetch Standard spec as of 9 March 2015.

It requires the ES6 Promises type definitions:
https://github.com/borisyankov/DefinitelyTyped/tree/master/es6-promise

And, unless you're using Chrome Canary, the following polyfills in production:

Note: The headers dictionary should have an iterator however I'm not sure how to go about implementing it - feel free to submit a PR for this change.