diff --git a/packages/metro-bundler/src/ModuleGraph/types.flow.js b/packages/metro-bundler/src/ModuleGraph/types.flow.js index 1e250df0..ec447ccb 100644 --- a/packages/metro-bundler/src/ModuleGraph/types.flow.js +++ b/packages/metro-bundler/src/ModuleGraph/types.flow.js @@ -142,9 +142,10 @@ export type LibraryOptions = {| |}; export type Base64Content = string; +export type AssetContentsByPath = {[destFilePath: string]: Base64Content}; export type Library = {| files: Array, /* cannot be a Map because it's JSONified later on */ - assets: {[destFilePath: string]: Base64Content}, + assets: AssetContentsByPath, |};