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';
|
||||
|
||||
type BundleType = 'bundle' | 'delta' | 'map' | 'ram' | 'cli' | 'hmr' | 'todo';
|
||||
type SourceMapOrMappings = MetroSourceMap | Array<MetroSourceMapSegmentTuple>;
|
||||
type MetroSourceMapOrMappings =
|
||||
| MetroSourceMap
|
||||
| Array<MetroSourceMapSegmentTuple>;
|
||||
|
||||
export type BundleOptions = {
|
||||
+assetPlugins: Array<string>,
|
||||
|
@ -59,7 +61,7 @@ export type ModuleGroups = {|
|
|||
export type ModuleTransportLike = {
|
||||
+code: string,
|
||||
+id: number,
|
||||
+map: ?SourceMapOrMappings,
|
||||
+map: ?MetroSourceMapOrMappings,
|
||||
+name?: string,
|
||||
+sourcePath: string,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue