From 119c0746042947fb6cb3113dc93e9dba93f1116c Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Sat, 19 Aug 2023 00:10:44 +0800 Subject: [PATCH] fix: initWasm options should be optional (#14152) --- packages/vite/client.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/client.d.ts b/packages/vite/client.d.ts index b73389ec373f1f..0f2c3db286d82f 100644 --- a/packages/vite/client.d.ts +++ b/packages/vite/client.d.ts @@ -221,7 +221,7 @@ declare module '*.txt' { // wasm?init declare module '*.wasm?init' { const initWasm: ( - options: WebAssembly.Imports, + options?: WebAssembly.Imports, ) => Promise export default initWasm }