Skip to content

Commit dd2fc40

Browse files
usikderfacebook-github-bot
authored andcommitted
remove unnecessary and error inducing method from Map flow type
Reviewed By: mroch Differential Revision: D6198877 fbshipit-source-id: 77a058072f439339a92fa07702a0429c4ca3282f
1 parent 86c50a5 commit dd2fc40

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

flow/Map.js

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ declare module "Map" {
1919
@@iterator(): Iterator<[K, V]>;
2020
constructor<Key, Value>(_: void): MapPolyfill<Key, Value>;
2121
constructor<Key, Value>(_: null): MapPolyfill<Key, Value>;
22-
constructor<Key, Value>(iterable: Array<[Key, Value]>): MapPolyfill<Key, Value>;
2322
constructor<Key, Value>(iterable: Iterable<[Key, Value]>): MapPolyfill<Key, Value>;
2423
clear(): void;
2524
delete(key: K): boolean;

0 commit comments

Comments
 (0)