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

Feature request: explicit React typings #324

Open
XantreDev opened this issue Mar 15, 2023 · 3 comments
Open

Feature request: explicit React typings #324

XantreDev opened this issue Mar 15, 2023 · 3 comments
Labels

Comments

@XantreDev
Copy link
Contributor

I think that explicit addition of signals typings (like in ts-reset ) will have better DX.
For now typings not working for react. I can add this
image
All dom attributes can be preact signals, but by typings not.
image
image
I think i can fix it by redeclaring React interfaces

@JoviDeCroock
Copy link
Member

This should be solved by 0135d60

@XantreDev
Copy link
Contributor Author

But it still will fall typechecks in html attributes and so on

@XantreDev
Copy link
Contributor Author

image

I know how to solve it

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

3 participants