Skip to content

Commit c345cc8

Browse files
Added missing type annotation in docs (#4332)
1 parent f931112 commit c345cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/src/reference/static-js-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let COLORS = {
2626
#[wasm_bindgen]
2727
extern "C" {
2828
#[wasm_bindgen(thread_local_v2)]
29-
static COLORS;
29+
static COLORS: JsValue;
3030
}
3131

3232
fn get_colors() -> JsValue {

0 commit comments

Comments
 (0)