mirror of https://github.com/status-im/metro.git
Flow cleanup
Reviewed By: mjesun Differential Revision: D6702877 fbshipit-source-id: ddb6c508f4a408316aef19d69b3a73c8744d5355
This commit is contained in:
parent
a05eb11cab
commit
1687f3766e
|
@ -27,7 +27,9 @@ import type {
|
||||||
} from 'metro-source-map';
|
} from 'metro-source-map';
|
||||||
|
|
||||||
type BundleType = 'bundle' | 'delta' | 'map' | 'ram' | 'cli' | 'hmr' | 'todo';
|
type BundleType = 'bundle' | 'delta' | 'map' | 'ram' | 'cli' | 'hmr' | 'todo';
|
||||||
type SourceMapOrMappings = MetroSourceMap | Array<MetroSourceMapSegmentTuple>;
|
type MetroSourceMapOrMappings =
|
||||||
|
| MetroSourceMap
|
||||||
|
| Array<MetroSourceMapSegmentTuple>;
|
||||||
|
|
||||||
export type BundleOptions = {
|
export type BundleOptions = {
|
||||||
+assetPlugins: Array<string>,
|
+assetPlugins: Array<string>,
|
||||||
|
@ -59,7 +61,7 @@ export type ModuleGroups = {|
|
||||||
export type ModuleTransportLike = {
|
export type ModuleTransportLike = {
|
||||||
+code: string,
|
+code: string,
|
||||||
+id: number,
|
+id: number,
|
||||||
+map: ?SourceMapOrMappings,
|
+map: ?MetroSourceMapOrMappings,
|
||||||
+name?: string,
|
+name?: string,
|
||||||
+sourcePath: string,
|
+sourcePath: string,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue