Skip to content

Commit

Permalink
fix: initWasm options should be optional (#14152)
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Aug 18, 2023
1 parent 094b732 commit 387a6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/client.d.ts
Expand Up @@ -221,7 +221,7 @@ declare module '*.txt' {
// wasm?init
declare module '*.wasm?init' {
const initWasm: (
options: WebAssembly.Imports,
options?: WebAssembly.Imports,
) => Promise<WebAssembly.Instance>
export default initWasm
}
Expand Down

0 comments on commit 387a6e8

Please sign in to comment.