Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Flow type definition of functions using Array of arguments should use $ReadOnlyArray #10932
Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)
For Flow, passing a non-readonly array as an argument means that the
The solution is to use
See Flow JS example below:
Hey @kayhadrin! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.