From 5959bfa98c02cf1741a66575df63d45e28a859e9 Mon Sep 17 00:00:00 2001 From: x1unix Date: Thu, 18 Jul 2024 13:41:56 -0400 Subject: [PATCH] fix: fix doc typos --- internal/js/example/src/internal/setup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/js/example/src/internal/setup.ts b/internal/js/example/src/internal/setup.ts index 0b7b63c..1ad4532 100644 --- a/internal/js/example/src/internal/setup.ts +++ b/internal/js/example/src/internal/setup.ts @@ -20,7 +20,7 @@ const loadString = (mem: DataView, addr: number) => { */ interface ExtendedGo extends Go { /** - * Manually calls Go functions exposed to JS. + * Creates a callable JS function from Go's callback ID. * * This is the only way to call exposed function without adding it to 'globalThis' property. * Will be replaced when '//go:wasmexport' is available.