Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: TS type declaration missing for themes/object #3325

Open
kuchta opened this issue Dec 17, 2024 · 2 comments
Open

bug: TS type declaration missing for themes/object #3325

kuchta opened this issue Dec 17, 2024 · 2 comments
Labels

Comments

@kuchta
Copy link

kuchta commented Dec 17, 2024

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?

Copy link

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.

@saadeghi saadeghi added the v5 label Dec 19, 2024
@saadeghi
Copy link
Owner

Fixed in 5.0.0-alpha.51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants