Add extends to js-sys:Intl.Collater

This commit is contained in:
Mason Stallmo
2018-08-19 10:03:56 -05:00
parent 9c6225fd80
commit f0811d5ac0
2 changed files with 5 additions and 1 deletions

View File

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