From ffccfdee7dc6fdb514e9ea1352eec274cd7aeafa Mon Sep 17 00:00:00 2001 From: Frazer McLean Date: Thu, 16 Aug 2018 20:41:07 +0200 Subject: [PATCH] WebAssembly::Table::new takes an object --- crates/js-sys/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/js-sys/src/lib.rs b/crates/js-sys/src/lib.rs index c5efcbe0..dbc2f6e0 100644 --- a/crates/js-sys/src/lib.rs +++ b/crates/js-sys/src/lib.rs @@ -2990,7 +2990,7 @@ pub mod WebAssembly { /// /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table #[wasm_bindgen(constructor, js_namespace = WebAssembly)] - pub fn new(table_descriptor: &JsValue) -> Table; + pub fn new(table_descriptor: &Object) -> Table; /// The `length` prototype property of the `WebAssembly.Table` object /// returns the length of the table, i.e. the number of elements in the