Skip to content

Commit fcd80db

Browse files
authored
fix(48912): fractionalSecondDigits is 1, 2 or 3. (#49042)
1 parent 0cd551d commit fcd80db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/es2021.intl.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare namespace Intl {
55
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
66
timeStyle?: "full" | "long" | "medium" | "short" | undefined;
77
dayPeriod?: "narrow" | "short" | "long" | undefined;
8-
fractionalSecondDigits?: 0 | 1 | 2 | 3 | undefined;
8+
fractionalSecondDigits?: 1 | 2 | 3 | undefined;
99
}
1010

1111
interface DateTimeRangeFormatPart extends DateTimeFormatPart {

tests/lib/lib.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3956,7 +3956,7 @@ declare module Intl {
39563956
hour?: "numeric" | "2-digit";
39573957
minute?: "numeric" | "2-digit";
39583958
second?: "numeric" | "2-digit";
3959-
fractionalSecondDigits?: 0 | 1 | 2 | 3;
3959+
fractionalSecondDigits?: 1 | 2 | 3;
39603960
timeZoneName?: "long" | "short";
39613961
}
39623962

0 commit comments

Comments
 (0)