Commit Graph
7 Commits
Author SHA1 Message Date
Masahiro Wakame 8474e3e64d Merge pull request #5998 from subash-a/corrected-fetch-typedef
corrected fetch args to support Request
2015-09-27 13:12:13 +09:00
Subhash Sharma 33b992dd01 corrected fetch args to support Request
Corrected fetch function to support Request Object as an alternate
argument as defined by MDN documentation for fetch API.
2015-09-24 23:24:17 +05:30
Alexander Rusakov 59a842d0ba whatwg-fetch uses strings and enums 2015-09-15 15:35:17 +03:00
jonathantyates 9f9214a5cf Update whatwg-fetch.d.ts
The json method when invoked, must return the result of running consume body with JSON. This implies that it must have the same return value as JSON.parse, which is any.
2015-05-11 11:29:10 -04:00
Ken Sheedlo a3a294fb4f Add support for headers as object in whatwg-fetch
The current typing supports passing headers through the Headers class,
but the spec also supports passing headers as an object mapping header
names to header values. See the [Github example](https://github.com/github/fetch#post-json).
2015-04-05 19:46:19 -07:00
ryan-codingintrigue 54d3f50685 Removed unnecessary reference to typescriptServices 2015-03-24 15:47:47 +00:00
ryan-codingintrigue 45979048d5 Renamed to whatwg-fetch 2015-03-21 06:56:38 +00:00