Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript type definition for locale #742

Closed
Mushr0000m opened this issue Dec 2, 2019 · 1 comment
Closed

Typescript type definition for locale #742

Mushr0000m opened this issue Dec 2, 2019 · 1 comment

Comments

@Mushr0000m
Copy link

V1.8.17

I try to list all weekdays that are stored in the locale file under weekdaysShort key, but when doing : import dayjsFr from 'dayjs/locale/fr'; I get the classic Could not find a declaration file for moduleerror. I'm I doing something wrong or there is not type definition for locales ? If so can you add them ?

Thanks

@iamkun
Copy link
Owner

iamkun commented Dec 9, 2019

fixed in #716 and will be available in next release.

@iamkun iamkun closed this as completed Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants