From c8c2c7317a6609be14be8d1c135adb42f0b1d1e1 Mon Sep 17 00:00:00 2001 From: Andy Edwards Date: Mon, 26 Aug 2019 15:09:56 -0500 Subject: [PATCH] fix(flatMap): fix flow error from second reference to flatMap --- src/polyfills/flatMap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/polyfills/flatMap.js b/src/polyfills/flatMap.js index b2402dfa59..ce1ff1febd 100644 --- a/src/polyfills/flatMap.js +++ b/src/polyfills/flatMap.js @@ -9,6 +9,7 @@ declare function flatMap( // $FlowFixMe const flatMap = Array.prototype.flatMap ? function(list, fn) { + // $FlowFixMe return Array.prototype.flatMap.call(list, fn); } : function(list, fn) {