bug: TS type declaration missing for themes/object
kuchta opened this issue · 2 comments
kuchta commented
What version of daisyUI are you using?
5.0.0-alpha.49
Which browsers are you seeing the problem on?
No response
Reproduction URL
this is build time issue
Describe your issue
TS type declaration is missing when I try to import a list of supported themes from themes/object.js
error TS2307: Cannot find module 'daisyui/theme/object' or its corresponding type declarations.
import themeObject from 'daisyui/theme/object'
Or is there a better way how to import a list of themes in v5?
github-actions commented
Thank you @kuchta
for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I
find a solution.
In the meantime providing more details and reproduction links would be
helpful.