diff --git a/guide/src/reference/static-js-objects.md b/guide/src/reference/static-js-objects.md index 92b699d57c6..c78dc3c261e 100644 --- a/guide/src/reference/static-js-objects.md +++ b/guide/src/reference/static-js-objects.md @@ -26,7 +26,7 @@ let COLORS = { #[wasm_bindgen] extern "C" { #[wasm_bindgen(thread_local_v2)] - static COLORS; + static COLORS: JsValue; } fn get_colors() -> JsValue {