Skip to content
/ vite Public

Commit 119c074

Browse files
bteabluwy
authored andcommittedOct 3, 2023
fix: initWasm options should be optional (#14152)
1 parent 441642e commit 119c074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/vite/client.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ declare module '*.txt' {
221221
// wasm?init
222222
declare module '*.wasm?init' {
223223
const initWasm: (
224-
options: WebAssembly.Imports,
224+
options?: WebAssembly.Imports,
225225
) => Promise<WebAssembly.Instance>
226226
export default initWasm
227227
}

0 commit comments

Comments
 (0)
Please sign in to comment.