File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/// <reference lib="es2015.symbol.wellknown" />
22/// <reference lib="es2020.intl" />
3+ /// <reference lib="es2025.intl" />
34
45declare namespace Temporal {
56 type CalendarLike = PlainDate | PlainDateTime | PlainMonthDay | PlainYearMonth | ZonedDateTime | string ;
@@ -344,7 +345,7 @@ declare namespace Temporal {
344345 total ( totalOf : "day" | "days" | TimeUnit ) : number ;
345346 total ( totalOf : DurationTotalOptions ) : number ;
346347 toString ( options ?: DurationToStringOptions ) : string ;
347- toLocaleString ( locales ?: Intl . LocalesArgument , options ?: Intl . DateTimeFormatOptions ) : string ;
348+ toLocaleString ( locales ?: Intl . LocalesArgument , options ?: Intl . DurationFormatOptions ) : string ;
348349 toJSON ( ) : string ;
349350 valueOf ( ) : never ;
350351 readonly [ Symbol . toStringTag ] : "Temporal.Duration" ;
You can’t perform that action at this time.
0 commit comments