From 8dbbb4dd19b479299cbe2f501a8b5ced9b61fbe8 Mon Sep 17 00:00:00 2001 From: flyflydogdog Date: Mon, 29 Jul 2024 18:06:16 +0800 Subject: [PATCH] :memo: Update README.md (#89) --- proposals/esm-integration/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/esm-integration/README.md b/proposals/esm-integration/README.md index fa7425ae..af4afda4 100644 --- a/proposals/esm-integration/README.md +++ b/proposals/esm-integration/README.md @@ -36,7 +36,7 @@ foo(); Then by integrating with [Source Phase Imports](/~https://github.com/tc39/proposal-source-phase-imports), arbitrary instantiations with custom imports can still be supported. ```js -import source myModule from "./myModule.wasm"); +import source myModule from "./myModule.wasm"; const { foo: foo1 } = new WebAssembly.Instance(myModule, { ...imports1 }); foo1();