Merge pull request #681 from sepiropht/master

[670] add extends for some types
This commit is contained in:
Alex Crichton
2018-08-13 18:39:53 -06:00
committed by GitHub
3 changed files with 16 additions and 1 deletions

View File

@ -2886,7 +2886,7 @@ extern "C" {
// JsString
#[wasm_bindgen]
extern "C" {
#[wasm_bindgen(js_name = String)]
#[wasm_bindgen(js_name = String, extends = Object)]
#[derive(Clone)]
pub type JsString;