diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-03-14 19:29:29 -0400 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-03-14 19:29:29 -0400 |
| commit | c63738e17df4d5bfff2049a6d1c445c609c2189e (patch) | |
| tree | 5e64cdbcd49a3d6f7348cff8ad80a8eafb6dc83c /src/wasm.ts | |
| parent | 71abdb2ee3f5bdb1e029c9f4266f4b797fa960f9 (diff) | |
fix: fix lots of type errors
Diffstat (limited to 'src/wasm.ts')
| -rw-r--r-- | src/wasm.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.ts b/src/wasm.ts index cf7b552..4a8d3c8 100644 --- a/src/wasm.ts +++ b/src/wasm.ts @@ -1,5 +1,5 @@ import { instantiate } from '../build/out.js'; -import url from '../build/out.wasm'; +import module from '../build/out.wasm'; export const { memory, mathS, mathV, mathSS, mathSV, mathVS, mathVV, @@ -7,4 +7,4 @@ export const { intersperse, unzip, fft, -} = await instantiate(await WebAssembly.compileStreaming(fetch(url)), {});
\ No newline at end of file +} = await instantiate(await WebAssembly.compileStreaming(fetch(module)), { env: {} });
\ No newline at end of file |
