Merge pull request #723 from mstallmo/add-extends-to-js-sys

Add extends attributes for js_sys:Generator
This commit is contained in:
Alex Crichton
2018-08-18 22:09:16 -07:00
committed by GitHub
2 changed files with 9 additions and 0 deletions

View File

@ -885,6 +885,7 @@ impl Function {
// Generator
#[wasm_bindgen]
extern {
#[wasm_bindgen(extends = Object)]
#[derive(Clone, Debug)]
pub type Generator;