aliakbarazizi/headless-datepicker

When importing this package, TS is not able to resolve the types

getsalty opened this issue · 1 comments

Issue:

Installing this package, then importing it in a tsx file is presenting errors related to lack of types.

Environment Info:

Windows, VSCode, Vite, React, Typescript

Example of the issue:

https://stackblitz.com/edit/vitejs-vite-dakskx?file=src%2FApp.tsx

image

As you can see in this example, other issues are present because now fields are implicitly 'any' as well (probably because the types were not imported).

Hi,

Thank you for reporting this bug, it should be fixed in 1.1.5

https://codesandbox.io/p/sandbox/misty-butterfly-kllpys