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

Part of #670
This commit is contained in:
Nick Fitzgerald
2018-08-08 16:23:12 -07:00
parent 66f10b0c72
commit 235f9cc04e
2 changed files with 9 additions and 0 deletions

View File

@ -2102,6 +2102,7 @@ extern "C" {
// RegExp
#[wasm_bindgen]
extern {
#[wasm_bindgen(extends = Object)]
#[derive(Clone, Debug)]
pub type RegExp;