@@ -575,7 +575,7 @@ export namespace Temporal {
575
575
subtract ( other : Temporal . Duration | DurationLike | string ) : Temporal . Duration ;
576
576
round ( roundTo : DurationRoundTo ) : Temporal . Duration ;
577
577
total ( totalOf : DurationTotalOf ) : number ;
578
- toLocaleString ( locales ?: string | string [ ] , options ?: LegacyDateTimeFormatOptions ) : string ;
578
+ toLocaleString ( locales ?: globalThis . Intl . LocalesArgument , options ?: LegacyDateTimeFormatOptions ) : string ;
579
579
toJSON ( ) : string ;
580
580
toString ( options ?: ToStringPrecisionOptions ) : string ;
581
581
valueOf ( ) : never ;
@@ -623,7 +623,7 @@ export namespace Temporal {
623
623
roundTo : RoundTo < 'hour' | 'minute' | 'second' | 'millisecond' | 'microsecond' | 'nanosecond' >
624
624
) : Temporal . Instant ;
625
625
toZonedDateTimeISO ( tzLike : TimeZoneLike ) : Temporal . ZonedDateTime ;
626
- toLocaleString ( locales ?: string | string [ ] , options ?: LegacyDateTimeFormatOptions ) : string ;
626
+ toLocaleString ( locales ?: globalThis . Intl . LocalesArgument , options ?: LegacyDateTimeFormatOptions ) : string ;
627
627
toJSON ( ) : string ;
628
628
toString ( options ?: InstantToStringOptions ) : string ;
629
629
valueOf ( ) : never ;
@@ -702,7 +702,7 @@ export namespace Temporal {
702
702
) : Temporal . ZonedDateTime ;
703
703
toPlainYearMonth ( ) : Temporal . PlainYearMonth ;
704
704
toPlainMonthDay ( ) : Temporal . PlainMonthDay ;
705
- toLocaleString ( locales ?: string | string [ ] , options ?: LegacyDateTimeFormatOptions ) : string ;
705
+ toLocaleString ( locales ?: globalThis . Intl . LocalesArgument , options ?: LegacyDateTimeFormatOptions ) : string ;
706
706
toJSON ( ) : string ;
707
707
toString ( options ?: ShowCalendarOption ) : string ;
708
708
valueOf ( ) : never ;
@@ -805,7 +805,7 @@ export namespace Temporal {
805
805
toZonedDateTime ( tzLike : TimeZoneLike , options ?: ToInstantOptions ) : Temporal . ZonedDateTime ;
806
806
toPlainDate ( ) : Temporal . PlainDate ;
807
807
toPlainTime ( ) : Temporal . PlainTime ;
808
- toLocaleString ( locales ?: string | string [ ] , options ?: LegacyDateTimeFormatOptions ) : string ;
808
+ toLocaleString ( locales ?: globalThis . Intl . LocalesArgument , options ?: LegacyDateTimeFormatOptions ) : string ;
809
809
toJSON ( ) : string ;
810
810
toString ( options ?: CalendarTypeToStringOptions ) : string ;
811
811
valueOf ( ) : never ;
@@ -841,7 +841,7 @@ export namespace Temporal {
841
841
equals ( other : Temporal . PlainMonthDay | PlainMonthDayLike | string ) : boolean ;
842
842
with ( monthDayLike : PlainMonthDayLike , options ?: AssignmentOptions ) : Temporal . PlainMonthDay ;
843
843
toPlainDate ( year : { year : number } ) : Temporal . PlainDate ;
844
- toLocaleString ( locales ?: string | string [ ] , options ?: LegacyDateTimeFormatOptions ) : string ;
844
+ toLocaleString ( locales ?: globalThis . Intl . LocalesArgument , options ?: LegacyDateTimeFormatOptions ) : string ;
845
845
toJSON ( ) : string ;
846
846
toString ( options ?: ShowCalendarOption ) : string ;
847
847
valueOf ( ) : never ;
@@ -907,7 +907,7 @@ export namespace Temporal {
907
907
round (
908
908
roundTo : RoundTo < 'hour' | 'minute' | 'second' | 'millisecond' | 'microsecond' | 'nanosecond' >
909
909
) : Temporal . PlainTime ;
910
- toLocaleString ( locales ?: string | string [ ] , options ?: LegacyDateTimeFormatOptions ) : string ;
910
+ toLocaleString ( locales ?: globalThis . Intl . LocalesArgument , options ?: LegacyDateTimeFormatOptions ) : string ;
911
911
toJSON ( ) : string ;
912
912
toString ( options ?: ToStringPrecisionOptions ) : string ;
913
913
valueOf ( ) : never ;
@@ -971,7 +971,7 @@ export namespace Temporal {
971
971
options ?: DifferenceOptions < 'year' | 'month' >
972
972
) : Temporal . Duration ;
973
973
toPlainDate ( day : { day : number } ) : Temporal . PlainDate ;
974
- toLocaleString ( locales ?: string | string [ ] , options ?: LegacyDateTimeFormatOptions ) : string ;
974
+ toLocaleString ( locales ?: globalThis . Intl . LocalesArgument , options ?: LegacyDateTimeFormatOptions ) : string ;
975
975
toJSON ( ) : string ;
976
976
toString ( options ?: ShowCalendarOption ) : string ;
977
977
valueOf ( ) : never ;
@@ -1065,7 +1065,7 @@ export namespace Temporal {
1065
1065
toPlainDateTime ( ) : Temporal . PlainDateTime ;
1066
1066
toPlainDate ( ) : Temporal . PlainDate ;
1067
1067
toPlainTime ( ) : Temporal . PlainTime ;
1068
- toLocaleString ( locales ?: string | string [ ] , options ?: LegacyDateTimeFormatOptions ) : string ;
1068
+ toLocaleString ( locales ?: globalThis . Intl . LocalesArgument , options ?: LegacyDateTimeFormatOptions ) : string ;
1069
1069
toJSON ( ) : string ;
1070
1070
toString ( options ?: ZonedDateTimeToStringOptions ) : string ;
1071
1071
valueOf ( ) : never ;
0 commit comments