mirror of https://github.com/status-im/metro.git
Make crawling Options type strict
Reviewed By: cpojer Differential Revision: D7334076 fbshipit-source-id: 5aaf65d594b23a51287f97ce9f14aab09010f871
This commit is contained in:
parent
69755c9a0d
commit
a396616e4b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue