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
The declarations are in the build folder, but for some reason the index.d.ts had the imports referenced from src instead of . Watch out for the next release, will have this fixed.
Hi,
Your package looks great, kudos for building it! I would love to use it but when I import it I get TypeScript error:
I checked your index.d.ts and see:
Where there's no src directory
Also in package.json there's no "types" record that would indicate where to search types.
Repro:
https://codesandbox.io/s/relaxed-saha-4sxqn?file=/src/App.tsx
I could help you with exporting types if you want :)
The text was updated successfully, but these errors were encountered: