-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Syntax Error for Flow type parameter defaults in function declarations #6326
Copy link
Copy link
Closed
Labels
lang:flowIssues affecting Flow-specific constructs (not general JS issues)Issues affecting Flow-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.type:testsIssues about tests that are not correct, should be added, or similarIssues about tests that are not correct, should be added, or similar
Metadata
Metadata
Assignees
Labels
lang:flowIssues affecting Flow-specific constructs (not general JS issues)Issues affecting Flow-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.type:testsIssues about tests that are not correct, should be added, or similarIssues about tests that are not correct, should be added, or similar
Recently flowtype released https://github.com/facebook/flow/releases/tag/v0.103.0
This includes facebook/flow@c18ee0d
which is a fix for facebook/flow#6875.
This new syntax is not supported by prettier.
Environments:
Steps to reproduce:
Expected behavior:
Actual behavior: