Closed Senbonzakura1234 closed 1 year ago
Try using the repo examples as a boilerplate to start your project. here: https://stackblitz.com/edit/daisyui-nextjs?file=package.json
I'm guessing it has to do with the way you set up your project.
@yajatvishwak
It's not. I'm getting the same issue, and it's due to there existing no type declarations anywhere.
So ideally either the published package should contain type definitions, or they should exist under @types/daisyui
.
having the same issue
the best way to fix it IMHO would be to create a "@types/daisyui" package at https://github.com/definitelytyped/definitelytyped
having the same issue
the best way to fix it IMHO would be to create a "@types/daisyui" package at https://github.com/definitelytyped/definitelytyped
do you know the shape of daisyui export thou?
Hey! I'm happy to take this issue if no one else has started work. I've added types for some (much smaller) Tailwind plugins I've written so should be pretty simple. I'm also planning on adding types for the config so you should get intellisense for the daisyui
field in your tailwind.config.js
.
Hey! I'm happy to take this issue if no one else has started work. I've added types for some (much smaller) Tailwind plugins I've written so should be pretty simple. I'm also planning on adding types for the config so you should get intellisense for the
daisyui
field in yourtailwind.config.js
.
Great, I am having this issue
Discussed in https://github.com/saadeghi/daisyui/discussions/819