From dd2fc4022e1f94880a8b3f81dba1eea687ce6452 Mon Sep 17 00:00:00 2001 From: Uts Sikder Date: Wed, 1 Nov 2017 16:18:16 -0700 Subject: [PATCH] remove unnecessary and error inducing method from Map flow type Reviewed By: mroch Differential Revision: D6198877 fbshipit-source-id: 77a058072f439339a92fa07702a0429c4ca3282f --- flow/Map.js | 1 - 1 file changed, 1 deletion(-) diff --git a/flow/Map.js b/flow/Map.js index 30d9617d7..d858114fd 100644 --- a/flow/Map.js +++ b/flow/Map.js @@ -19,7 +19,6 @@ declare module "Map" { @@iterator(): Iterator<[K, V]>; constructor(_: void): MapPolyfill; constructor(_: null): MapPolyfill; - constructor(iterable: Array<[Key, Value]>): MapPolyfill; constructor(iterable: Iterable<[Key, Value]>): MapPolyfill; clear(): void; delete(key: K): boolean;