add extends for JsString

This commit is contained in:
sepiropht
2018-08-10 07:44:45 +02:00
parent 9a1147d61b
commit 96c24c47a2
3 changed files with 16 additions and 1 deletions

View File

@ -2666,7 +2666,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;