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
[at-loader] Checking started in a separate process...
[at-loader] Checking finished with 4 errors
[at-loader] ./app/client/components-subapp/main-client/main-client-root-view.tsx:47:22
TS2322: Type 'string[]' is not assignable to type 'string'.
However, the component works at runtime. I know the module is working, because removing the decorator breaks it.
I really like this react-classname-module, but this is a dealbreaker for Typescript projects. It'd be fantastic if there were a baked-in solution available. I think (but am not sure) automatic overrides of React/JSX/TSX typings applied immediately on importing the module could do the trick.
The text was updated successfully, but these errors were encountered:
Using this module in Typescript results in compilation failures.
For example, writing the following:
...causes the following on compilation:
However, the component works at runtime. I know the module is working, because removing the decorator breaks it.
I really like this react-classname-module, but this is a dealbreaker for Typescript projects. It'd be fantastic if there were a baked-in solution available. I think (but am not sure) automatic overrides of React/JSX/TSX typings applied immediately on importing the module could do the trick.
The text was updated successfully, but these errors were encountered: