Make `postMinifyProcess` non-optional

Reviewed By: cpojer

Differential Revision: D5052315

fbshipit-source-id: 4c3573fc6e97b4f561f371179ea2dd6f89fac05a
This commit is contained in:
David Aurelio 2017-05-12 11:31:56 -07:00 committed by Facebook Github Bot
parent a948fdb31b
commit 1c2ef1833f
3 changed files with 5 additions and 5 deletions

View File

@ -127,7 +127,7 @@ type Options = {|
+platforms: Array<string>,
+polyfillModuleNames: Array<string>,
+postProcessModules?: PostProcessModules,
+postMinifyProcess?: PostMinifyProcess,
+postMinifyProcess: PostMinifyProcess,
+projectRoots: Array<string>,
+providesModuleNodeModules?: Array<string>,
+reporter: Reporter,

View File

@ -39,7 +39,7 @@ type Options = {|
+hasteImpl?: HasteImpl,
+maxWorkerCount: number,
+minifyCode: MinifyCode,
+postMinifyProcess?: PostMinifyProcess,
+postMinifyProcess: PostMinifyProcess,
+platforms: Set<string>,
+polyfillModuleNames?: Array<string>,
+projectRoots: Array<string>,
@ -55,7 +55,7 @@ class Resolver {
_depGraph: DependencyGraph;
_minifyCode: MinifyCode;
_postMinifyProcess: ?PostMinifyProcess;
_postMinifyProcess: PostMinifyProcess;
_polyfillModuleNames: Array<string>;
constructor(opts: Options, depGraph: DependencyGraph) {

View File

@ -68,7 +68,7 @@ type Options = {
platforms?: Array<string>,
polyfillModuleNames?: Array<string>,
postProcessModules?: PostProcessModules,
postMinifyProcess?: PostMinifyProcess,
postMinifyProcess: PostMinifyProcess,
projectRoots: Array<string>,
providesModuleNodeModules?: Array<string>,
reporter: Reporter,
@ -124,7 +124,7 @@ class Server {
platforms: Array<string>,
polyfillModuleNames: Array<string>,
postProcessModules?: PostProcessModules,
postMinifyProcess?: PostMinifyProcess,
postMinifyProcess: PostMinifyProcess,
projectRoots: Array<string>,
providesModuleNodeModules?: Array<string>,
reporter: Reporter,