summaryrefslogtreecommitdiff
path: root/cli/dts/lib.es2020.intl.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.es2020.intl.d.ts')
-rw-r--r--cli/dts/lib.es2020.intl.d.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/dts/lib.es2020.intl.d.ts b/cli/dts/lib.es2020.intl.d.ts
index dc31f5e03..1ec4628bb 100644
--- a/cli/dts/lib.es2020.intl.d.ts
+++ b/cli/dts/lib.es2020.intl.d.ts
@@ -297,4 +297,14 @@ declare namespace Intl {
unit?: string;
unitDisplay?: string;
}
+
+ interface DateTimeFormatOptions {
+ dateStyle?: "full" | "long" | "medium" | "short";
+ timeStyle?: "full" | "long" | "medium" | "short";
+ calendar?: string;
+ dayPeriod?: "narrow" | "short" | "long";
+ numberingSystem?: string;
+ hourCycle?: "h11" | "h12" | "h23" | "h24";
+ fractionalSecondDigits?: 0 | 1 | 2 | 3;
+ }
}