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.