Closed smahm006 closed 2 years ago
Trying to run my vuejs project with vite build and it shoots an error:
\ node_modules/vue3-date-time-picker/index.d.ts:176:20 - error TS2304: Cannot find name 'Locale'.
176 formatLocale?: Locale; \
Changing the line to formatLocale?: boolean fixes the issue. Not sure if just on my side or typo in code.
It is a bug, in my IDE it was auto inherited from the date-fns, will extract it.
date-fns
Included in the v2.5.0
Trying to run my vuejs project with vite build and it shoots an error:
\ node_modules/vue3-date-time-picker/index.d.ts:176:20 - error TS2304: Cannot find name 'Locale'.
176 formatLocale?: Locale; \
Changing the line to formatLocale?: boolean fixes the issue. Not sure if just on my side or typo in code.