summaryrefslogtreecommitdiff
path: root/cli/tests/wasm.ts
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-08-31 18:04:47 +0800
committerGitHub <noreply@github.com>2020-08-31 12:04:47 +0200
commita451a97486e4cd9c311cef2c016137dcff672522 (patch)
tree30bff5188e7d0de8a00f4dc43fb9ee337b8409fc /cli/tests/wasm.ts
parent5c23388f6d09b7198dbcd58893603b5d6a9c2d23 (diff)
fix(cli): use upstream type definitions for WebAssembly (#7216)
Diffstat (limited to 'cli/tests/wasm.ts')
-rw-r--r--cli/tests/wasm.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/wasm.ts b/cli/tests/wasm.ts
index 98da19d26..96b5fdffc 100644
--- a/cli/tests/wasm.ts
+++ b/cli/tests/wasm.ts
@@ -12,4 +12,5 @@ const wasmModule = new WebAssembly.Module(wasmCode);
const wasmInstance = new WebAssembly.Instance(wasmModule);
-console.log(wasmInstance.exports.main().toString());
+const main = wasmInstance.exports.main as CallableFunction;
+console.log(main().toString());