From a6dc40385405fd8633eb5598ebdd5ac7ddc259bc Mon Sep 17 00:00:00 2001 From: Tomer Aberbach Date: Sat, 22 Jun 2024 22:13:55 -0400 Subject: [PATCH] docs: fix important note --- readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index b9dfdc8..2cea10d 100644 --- a/readme.md +++ b/readme.md @@ -172,8 +172,10 @@ console.log(imports[8]) Use `parseImports` when you're able to await a `Promise` result and `parseImportsSync` otherwise. -> [!IMPORTANT] You can only call `parseImportsSync` once the WASM has loaded. -> You can be sure this has happened by awaiting the exported `wasmLoadPromise`. +> [!IMPORTANT] +> +> You can only call `parseImportsSync` once the WASM has loaded. You can be sure +> this has happened by awaiting the exported `wasmLoadPromise`. See the [type definitions](./src/index.d.ts) for details.