Flow cleanup

Reviewed By: mjesun

Differential Revision: D6702877

fbshipit-source-id: ddb6c508f4a408316aef19d69b3a73c8744d5355
This commit is contained in:
Peter van der Zee 2018-01-12 04:09:53 -08:00 committed by Facebook Github Bot
parent a05eb11cab
commit 1687f3766e
1 changed files with 4 additions and 2 deletions

View File

@ -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,
};