Make crawling Options type strict

Reviewed By: cpojer

Differential Revision: D7334076

fbshipit-source-id: 5aaf65d594b23a51287f97ce9f14aab09010f871
This commit is contained in:
Rafael Oleza 2018-03-20 06:53:47 -07:00 committed by Facebook Github Bot
parent 69755c9a0d
commit a396616e4b
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ export type DeltaResult = {|
export type {Graph} from './traverseDependencies';
export type Options = {
export type Options = {|
+assetPlugins: Array<string>,
+customTransformOptions: CustomTransformOptions,
+dev: boolean,
@ -43,7 +43,7 @@ export type Options = {
+onProgress: ?(doneCont: number, totalCount: number) => mixed,
+platform: ?string,
+type: 'module' | 'script',
};
|};
/**
* This class is in charge of calculating the delta of changed modules that