mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-10 18:04:18 -05:00
fix(48912): fractionalSecondDigits is 1, 2 or 3. (#49042)
This commit is contained in:
2
src/lib/es2021.intl.d.ts
vendored
2
src/lib/es2021.intl.d.ts
vendored
@@ -5,7 +5,7 @@ declare namespace Intl {
|
||||
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||
timeStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||
dayPeriod?: "narrow" | "short" | "long" | undefined;
|
||||
fractionalSecondDigits?: 0 | 1 | 2 | 3 | undefined;
|
||||
fractionalSecondDigits?: 1 | 2 | 3 | undefined;
|
||||
}
|
||||
|
||||
interface DateTimeRangeFormatPart extends DateTimeFormatPart {
|
||||
|
||||
2
tests/lib/lib.d.ts
vendored
2
tests/lib/lib.d.ts
vendored
@@ -3956,7 +3956,7 @@ declare module Intl {
|
||||
hour?: "numeric" | "2-digit";
|
||||
minute?: "numeric" | "2-digit";
|
||||
second?: "numeric" | "2-digit";
|
||||
fractionalSecondDigits?: 0 | 1 | 2 | 3;
|
||||
fractionalSecondDigits?: 1 | 2 | 3;
|
||||
timeZoneName?: "long" | "short";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user