Created
June 4, 2014 13:26
-
-
Save tobie/5e89cd37dd8b819905c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[NoInterfaceObject] | |
interface GlobalFetch { | |
Promise<Response> fetch(RequestInfo input, optional RequestInit init); | |
}; | |
Window implements GlobalFetch; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
partial interface Window { | |
Promise<Response> fetch(RequestInfo input, optional RequestInit init); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment