From d884237694ec24a9794cb14445bbea78fca604dc Mon Sep 17 00:00:00 2001 From: Michael Judd <12mmj2@queensu.ca> Date: Mon, 26 Aug 2019 10:41:59 -0400 Subject: [PATCH] fix: added FlowFixMe on Array.prototype.flatMap (#2131) - Fix for flow-bin 0.96, which complains about flatMap not existing. --- 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) {