Skip to content

Commit

Permalink
Actually fix flow error
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Miskiewicz committed Dec 14, 2016
1 parent af22050 commit 35bbf65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packager/react-packager/src/node-haste/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class DependencyGraph {
maxWorkers?: ?number,
mocksPattern?: mixed,
moduleOptions: ?ModuleOptions,
platforms: mixed,
platforms: Array<string>,
preferNativePlatform: boolean,
providesModuleNodeModules: Array<string>,
resetCache: boolean,
Expand All @@ -133,7 +133,6 @@ class DependencyGraph {
moduleOptions: moduleOptions || {
cacheTransformResults: true,
},
//$FlowFixMe
platforms: new Set(platforms || []),
preferNativePlatform: preferNativePlatform || false,
providesModuleNodeModules,
Expand Down

0 comments on commit 35bbf65

Please sign in to comment.