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