Actually fix flow error

This commit is contained in:
Adam Miskiewicz 2016-12-14 11:29:09 -08:00
parent af22050aae
commit 35bbf656d3
No known key found for this signature in database
GPG Key ID: EC62EB11EB5E47ED
1 changed files with 1 additions and 2 deletions

View File

@ -111,7 +111,7 @@ class DependencyGraph {
maxWorkers?: ?number,
mocksPattern?: mixed,
moduleOptions: ?ModuleOptions,
platforms: mixed,
platforms: Array<string>,
preferNativePlatform: boolean,
providesModuleNodeModules: Array<string>,
resetCache: boolean,
@ -133,7 +133,6 @@ class DependencyGraph {
moduleOptions: moduleOptions || {
cacheTransformResults: true,
},
//$FlowFixMe
platforms: new Set(platforms || []),
preferNativePlatform: preferNativePlatform || false,
providesModuleNodeModules,