From cf4a98b053f8453b0fd13083456593e1d3b0d4f1 Mon Sep 17 00:00:00 2001 From: Jean Lauliac Date: Tue, 2 May 2017 03:41:38 -0700 Subject: [PATCH] packager: buck worker: output assets Reviewed By: davidaurelio Differential Revision: D4962816 fbshipit-source-id: 4ce4eacb28528c96829ac35134aff18a72063370 --- packager/src/ModuleGraph/types.flow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packager/src/ModuleGraph/types.flow.js b/packager/src/ModuleGraph/types.flow.js index 1e250df02d6..ec447ccb9a3 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, |};