Add extends to js-sys:Intl.DateTimeFormat

This commit is contained in:
Mason Stallmo
2018-08-19 10:13:25 -05:00
parent f0811d5ac0
commit 780c7236f1
2 changed files with 5 additions and 1 deletions

View File

@ -3445,7 +3445,7 @@ pub mod Intl {
/// that enable language-sensitive date and time formatting.
///
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
#[wasm_bindgen(js_namespace = Intl)]
#[wasm_bindgen(extends = Object, js_namespace = Intl)]
#[derive(Clone, Debug)]
pub type DateTimeFormat;