From c345cc8122ac1c4fffe2c396ffbd2330f797bfdf Mon Sep 17 00:00:00 2001 From: Michael Schmidt Date: Sat, 7 Dec 2024 23:00:21 +0100 Subject: [PATCH] Added missing type annotation in docs (#4332) --- guide/src/reference/static-js-objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {