diff --git a/packager/src/ModuleGraph/types.flow.js b/packager/src/ModuleGraph/types.flow.js index 1e250df02d..ec447ccb9a 100644 --- a/packager/src/ModuleGraph/types.flow.js +++ b/packager/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, |};