My current date-time library is dayJS and I am looking to display a comprehensive list of all available time zones.
I attempted to utilize the Intl object for this purpose:
Intl.supportedValuesOf("timeZone")
However, I encountered a typescript error:
TS2339: Property 'supportedValuesOf' does not exist on type 'typeof Intl'.
Although I can retrieve the values, I would like to avoid using the @ts-ignore notation
What is the recommended approach to add the updated types for the Intl object?