Skip to content

Commit 89af3e8

Browse files
coadofacebook-github-bot
authored andcommitted
Add explicit type for Symbol.iterator in URLSearchParams (#48999)
Summary: Pull Request resolved: #48999 Changelog: [General][Changed] - Added explicit type for Symbol.iterator in URLSearchParams Reviewed By: cortinico Differential Revision: D68766996 fbshipit-source-id: 47aeed737134628b838e9382b04e0bb95513bee0
1 parent c925872 commit 89af3e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/react-native/Libraries/Blob/URLSearchParams.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ export class URLSearchParams {
4848
}
4949

5050
// $FlowFixMe[unsupported-syntax]
51-
// $FlowFixMe[missing-local-annot]
52-
[Symbol.iterator]() {
51+
[Symbol.iterator](): Iterator<Array<string>> {
5352
return this._searchParams[Symbol.iterator]();
5453
}
5554

0 commit comments

Comments
 (0)