From 8189f663b909460fd2fd2562dae6befefa7476c0 Mon Sep 17 00:00:00 2001 From: Joel Shepherd Date: Sat, 10 Feb 2018 00:56:54 +1000 Subject: [PATCH] Fixing incorrect property name --- types/luxon/index.d.ts | 2 +- types/luxon/luxon-tests.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/types/luxon/index.d.ts b/types/luxon/index.d.ts index 7229e45dc4..fac0b90fe6 100644 --- a/types/luxon/index.d.ts +++ b/types/luxon/index.d.ts @@ -287,7 +287,7 @@ declare module 'luxon' { type Features = { intl: boolean; intlTokens: boolean; - timezones: boolean; + zones: boolean; }; namespace Info { diff --git a/types/luxon/luxon-tests.ts b/types/luxon/luxon-tests.ts index 6310342899..11ef254ae9 100644 --- a/types/luxon/luxon-tests.ts +++ b/types/luxon/luxon-tests.ts @@ -78,6 +78,9 @@ i.toString(); /* Info */ Info.months(); Info.weekdays('long'); +Info.features().intl; +Info.features().intlTokens; +Info.features().zones; /* Settings */ Settings.defaultLocale;