diff --git a/packages/metro-bundler/src/Bundler/index.js b/packages/metro-bundler/src/Bundler/index.js index 58531819..da622d9c 100644 --- a/packages/metro-bundler/src/Bundler/index.js +++ b/packages/metro-bundler/src/Bundler/index.js @@ -127,7 +127,7 @@ type Options = {| +platforms: Array, +polyfillModuleNames: Array, +postProcessModules?: PostProcessModules, - +postMinifyProcess?: PostMinifyProcess, + +postMinifyProcess: PostMinifyProcess, +projectRoots: Array, +providesModuleNodeModules?: Array, +reporter: Reporter, diff --git a/packages/metro-bundler/src/Resolver/index.js b/packages/metro-bundler/src/Resolver/index.js index 476ef3ae..c3dbe177 100644 --- a/packages/metro-bundler/src/Resolver/index.js +++ b/packages/metro-bundler/src/Resolver/index.js @@ -39,7 +39,7 @@ type Options = {| +hasteImpl?: HasteImpl, +maxWorkerCount: number, +minifyCode: MinifyCode, - +postMinifyProcess?: PostMinifyProcess, + +postMinifyProcess: PostMinifyProcess, +platforms: Set, +polyfillModuleNames?: Array, +projectRoots: Array, @@ -55,7 +55,7 @@ class Resolver { _depGraph: DependencyGraph; _minifyCode: MinifyCode; - _postMinifyProcess: ?PostMinifyProcess; + _postMinifyProcess: PostMinifyProcess; _polyfillModuleNames: Array; constructor(opts: Options, depGraph: DependencyGraph) { diff --git a/packages/metro-bundler/src/Server/index.js b/packages/metro-bundler/src/Server/index.js index 8bd3f891..63732ee0 100644 --- a/packages/metro-bundler/src/Server/index.js +++ b/packages/metro-bundler/src/Server/index.js @@ -68,7 +68,7 @@ type Options = { platforms?: Array, polyfillModuleNames?: Array, postProcessModules?: PostProcessModules, - postMinifyProcess?: PostMinifyProcess, + postMinifyProcess: PostMinifyProcess, projectRoots: Array, providesModuleNodeModules?: Array, reporter: Reporter, @@ -124,7 +124,7 @@ class Server { platforms: Array, polyfillModuleNames: Array, postProcessModules?: PostProcessModules, - postMinifyProcess?: PostMinifyProcess, + postMinifyProcess: PostMinifyProcess, projectRoots: Array, providesModuleNodeModules?: Array, reporter: Reporter,