Break out URLSearchParams, require typedef for unparsable files#45783
Break out URLSearchParams, require typedef for unparsable files#45783huntie wants to merge 1 commit intofacebook:mainfrom
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
Generated by 🚫 dangerJS against 6224365cae4a3ac37345f69e31b723a3e4bcb0be |
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
Generated by 🚫 dangerJS against ccae31e92be30ad1393920a1727f33dade1d55ef |
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
Generated by 🚫 dangerJS against 4a98a8844a813726fcd742f0c4433d46e2c2167c |
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
4a98a88 to
e4b4d22
Compare
Generated by 🚫 dangerJS against e4b4d22e0e02cbd82dc86daae96e7251f2bced2e |
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
e4b4d22 to
c9426d5
Compare
Generated by 🚫 dangerJS against c9426d5fb2141e0ca0ce0da1bbbaff11d36b7252 |
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
c9426d5 to
458fe03
Compare
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
458fe03 to
81c94c1
Compare
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
81c94c1 to
d23c8e5
Compare
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
d23c8e5 to
f59f3ab
Compare
…book#45783) Summary: Pull Request resolved: facebook#45783 Improves type strictness in the `react-native` package. - Break out `URLSearchParams` from `URL.js` into its own module, to isolate a `$FlowFixMe[unsupported-syntax]` suppression within that definition. - Update `public-api-test` to require an adjacent `<module>.js.flow` type definition file whenever a `$FlowFixMe[unsupported-syntax]`is present. - Add `URLSearchParams.js.flow` with a Flow parser compatible typedef (`@iterator` instead of `[Symbol.iterator]`). The result of these changes is to add missing typedef test coverage for `Libraries/Blob/URL.js` (see updated test snapshots). Changelog: [Internal] Reviewed By: hoxyq Differential Revision: D60376327
|
This pull request was exported from Phabricator. Differential Revision: D60376327 |
f59f3ab to
8be0ddf
Compare
|
This pull request has been merged in 51ffc5c. |
|
This pull request was successfully merged by @huntie in 51ffc5c When will my fix make it into a release? | How to file a pick request? |
Summary:
Improves type strictness in the
react-nativepackage.URLSearchParamsfromURL.jsinto its own module, to isolate a$FlowFixMe[unsupported-syntax]suppression within that definition.public-api-testto require an adjacent<module>.js.flowtype definition file whenever a$FlowFixMe[unsupported-syntax]is present.URLSearchParams.js.flowwith a Flow parser compatible typedef (@iteratorinstead of[Symbol.iterator]).The result of these changes is to add missing typedef test coverage for
Libraries/Blob/URL.js(see updated test snapshots).Changelog: [Internal]
Differential Revision: D60376327