Type error: 'ThemeUIStyleObject' is declared but its value is never read. #1217
Unanswered
deadcoder0904
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Hey @deadcoder0904, what version of Theme UI are you using? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Okay, no clue here. I installed the same deps, and I don't have the error. @atanasster, have you encountered a similar problem? |
Beta Was this translation helpful? Give feedback.
0 replies
-
No, never had this issue, i am importing from
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This used to work previously:
But now it throws the above error:
Type error: 'ThemeUIStyleObject' is declared but its value is never read.
Furthermore, when I hover over it inside VSCode, it says
Cannot use namespace 'ThemeUIStyleObject' as a type.ts(2709)
After I remove it, I get another error which is similar:
Type error: 'Theme' is declared but its value is never read.
& it used to work as before you can see #834 (comment)How do I make sure I don't get an error & get TS support?
Beta Was this translation helpful? Give feedback.
All reactions