You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I can't compile a nuxt.js type script project which uses the DisplayNames of Intl I get the error message TS2339: Property 'DisplayNames' does not exist on type 'typeof Intl'.
To Reproduce
Steps to reproduce the behavior:
Add this script to any nuxt.js typescript project
newIntl.DisplayNames(undefined,{type: 'region'})
Expected behavior
The code should compile to javascript
Instead, I get the error
TS2339: Property 'DisplayNames' does not exist on type 'typeof Intl'.
Describe the bug
I can't compile a nuxt.js type script project which uses the
DisplayNames
ofIntl
I get the error messageTS2339: Property 'DisplayNames' does not exist on type 'typeof Intl'.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The code should compile to javascript
Instead, I get the error
Additional context
The text was updated successfully, but these errors were encountered: