File tree 2 files changed +10
-0
lines changed 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2
2
/// <reference lib="es2021.promise" />
3
3
/// <reference lib="es2021.string" />
4
4
/// <reference lib="es2021.weakref" />
5
+ /// <reference lib="es2021.intl" />
Original file line number Diff line number Diff line change @@ -8,6 +8,15 @@ declare namespace Intl {
8
8
fractionalSecondDigits ?: 0 | 1 | 2 | 3 | undefined ;
9
9
}
10
10
11
+ interface ResolvedDateTimeFormatOptions {
12
+ formatMatcher ?: "basic" | "best fit" | "best fit" ;
13
+ dateStyle ?: "full" | "long" | "medium" | "short" ;
14
+ timeStyle ?: "full" | "long" | "medium" | "short" ;
15
+ hourCycle ?: "h11" | "h12" | "h23" | "h24"
16
+ dayPeriod ?: "narrow" | "short" | "long" ;
17
+ fractionalSecondDigits ?: 0 | 1 | 2 | 3 ;
18
+ }
19
+
11
20
interface NumberFormat {
12
21
formatRange ( startDate : number | bigint , endDate : number | bigint ) : string ;
13
22
formatRangeToParts ( startDate : number | bigint , endDate : number | bigint ) : NumberFormatPart [ ] ;
You can’t perform that action at this time.
0 commit comments