Add extends attributes for js_sys:Generator

This commit is contained in:
Mason Stallmo
2018-08-18 09:11:07 -05:00
parent 7a08da9205
commit c543b5d149
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;