Skip to content

Add flow definitions#654

Merged
mislav merged 3 commits intomasterfrom
flowtype
Sep 7, 2018
Merged

Add flow definitions#654
mislav merged 3 commits intomasterfrom
flowtype

Conversation

@mislav
Copy link
Copy Markdown
Contributor

@mislav mislav commented Sep 7, 2018

We can't really use Headers, Request, and Response classes that Flow already has built in because:

  • This polyfill won't work if a native Request instance is passed to polyfill fetch();
  • Not all properties in the Fetch Standard are supported in the polyfill.

Therefore, the class definitions are replicated and edited for compatibility.

@mislav mislav requested a review from a team September 7, 2018 08:16
@mislav mislav merged commit 794f6df into master Sep 7, 2018
@mislav mislav deleted the flowtype branch September 7, 2018 12:32
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant