File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/main/scala/org/scalajs/dom/experimental/intl Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ class Collator(locales: js.UndefOr[String | js.Array[String]] = js.undefined,
3535 */
3636@ js.native
3737@ JSGlobal (" Intl.DateTimeFormat" )
38- class DateTimeFormat (locales : String | js.Array [String ],
38+ class DateTimeFormat (
39+ locales : js.UndefOr [String | js.Array [String ]] = js.undefined,
3940 options : js.UndefOr [DateTimeFormatOptions ] = js.undefined)
4041 extends js.Object {
4142 def format (date : js.Date ): String = js.native
@@ -52,8 +53,9 @@ class DateTimeFormat(locales: String | js.Array[String],
5253 */
5354@ js.native
5455@ JSGlobal (" Intl.NumberFormat" )
55- class NumberFormat (locales : String | js.Array [String ],
56- options : js.UndefOr [NumberFormatOptions ])
56+ class NumberFormat (
57+ locales : js.UndefOr [String | js.Array [String ]] = js.undefined,
58+ options : js.UndefOr [NumberFormatOptions ] = js.undefined)
5759 extends js.Object {
5860 def format (number : Double ): String = js.native
5961 def resolvedOptions (): NumberFormatOptions = js.native
You can’t perform that action at this time.
0 commit comments