summaryrefslogtreecommitdiff
path: root/cli/dts/lib.es2017.intl.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2022-09-20 07:00:01 +1000
committerGitHub <noreply@github.com>2022-09-20 07:00:01 +1000
commit73e89844bab930f2a2821b059743faed8372ed14 (patch)
tree7d6e8ef6736e41fd98293d533208b5ebb404c5b6 /cli/dts/lib.es2017.intl.d.ts
parent79aee3668db88be00673e920d4924626831aff88 (diff)
feat(cli): update to TypeScript 4.8 (#15064)
Diffstat (limited to 'cli/dts/lib.es2017.intl.d.ts')
-rw-r--r--cli/dts/lib.es2017.intl.d.ts17
1 files changed, 16 insertions, 1 deletions
diff --git a/cli/dts/lib.es2017.intl.d.ts b/cli/dts/lib.es2017.intl.d.ts
index f20c149f2..c2ab43e8f 100644
--- a/cli/dts/lib.es2017.intl.d.ts
+++ b/cli/dts/lib.es2017.intl.d.ts
@@ -19,7 +19,22 @@ and limitations under the License.
declare namespace Intl {
- type DateTimeFormatPartTypes = "day" | "dayPeriod" | "era" | "hour" | "literal" | "minute" | "month" | "second" | "timeZoneName" | "weekday" | "year";
+
+ interface DateTimeFormatPartTypesRegistry {
+ day: any
+ dayPeriod: any
+ era: any
+ hour: any
+ literal: any
+ minute: any
+ month: any
+ second: any
+ timeZoneName: any
+ weekday: any
+ year: any
+ }
+
+ type DateTimeFormatPartTypes = keyof DateTimeFormatPartTypesRegistry;
interface DateTimeFormatPart {
type: DateTimeFormatPartTypes;