diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2021-02-25 15:16:19 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 15:16:19 +1100 |
commit | d7837c8eb5590317bf005ba84b72c8e78ba06be3 (patch) | |
tree | 681cb3b45ea346f6174d1cf734fd6ce2ff138697 /cli/dts/lib.es2020.intl.d.ts | |
parent | 097e9c44f4d4c7daae7d8113c391bd24d29e7119 (diff) |
feat(cli): update to TypeScript 4.2 (#9341)
Diffstat (limited to 'cli/dts/lib.es2020.intl.d.ts')
-rw-r--r-- | cli/dts/lib.es2020.intl.d.ts | 10 |
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; + } } |