signals icon indicating copy to clipboard operation
signals copied to clipboard

Feature request: explicit React typings

Open XantreDev opened this issue 2 years ago • 3 comments

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

XantreDev avatar Mar 15 '23 18:03 XantreDev

This should be solved by https://github.com/preactjs/signals/commit/0135d60b6de1325ee2b027a25cd60cc379f9c198

JoviDeCroock avatar Mar 15 '23 18:03 JoviDeCroock

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

XantreDev avatar Mar 15 '23 19:03 XantreDev

image

I know how to solve it

XantreDev avatar Mar 15 '23 21:03 XantreDev