From 90e6a97b2286bde4e712b2258f1338be5cc176c1 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Fri, 6 Oct 2023 08:34:18 -0700 Subject: [PATCH] Fix WasmFileset compilation issue in 3P build PiperOrigin-RevId: 571345702 --- mediapipe/tasks/web/core/fileset_resolver.ts.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/tasks/web/core/fileset_resolver.ts.template b/mediapipe/tasks/web/core/fileset_resolver.ts.template index 289ee4d92..b98748c07 100644 --- a/mediapipe/tasks/web/core/fileset_resolver.ts.template +++ b/mediapipe/tasks/web/core/fileset_resolver.ts.template @@ -54,7 +54,7 @@ async function createFileset( return { wasmLoaderPath: `${basePath}/${taskName}_${suffix}.js`, wasmBinaryPath: `${basePath}/${taskName}_${suffix}.wasm`, - }; + } as unknown as WasmFileset; } // tslint:disable:class-as-namespace