js-sys: Add extends attributes for js_sys::Float64Array

address review comments

add review comments
This commit is contained in:
Sendil Kumar
2018-08-14 19:39:02 +02:00
parent d9fbc48daa
commit af9ecac296
2 changed files with 3 additions and 17 deletions

View File

@ -683,7 +683,6 @@ extern "C" {
// Float32Array
#[wasm_bindgen]
extern "C" {
// TODO Uncomment this once TypedArray is added:
#[wasm_bindgen(extends = Object)]
#[derive(Clone, Debug)]
pub type Float32Array;
@ -737,8 +736,7 @@ extern "C" {
// Float64Array
#[wasm_bindgen]
extern "C" {
// TODO Uncomment this once TypedArray is added:
// #[wasm_bindgen(extends = Object, extends = TypedArray)]
#[wasm_bindgen(extends = Object)]
#[derive(Clone, Debug)]
pub type Float64Array;