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 authored and bluwy committed Oct 3, 2023
1 parent 917ff3f commit 65df270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/client.d.ts
Original file line number Diff line number Diff line change
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 65df270

Please sign in to comment.