-
Notifications
You must be signed in to change notification settings - Fork 26
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
JSX type errors with tag of type StatelessComponent<P> (Inferno@6) #13
Comments
using replacing
TS/JSX does not seem to accept that |
hmm, I'm not sure. StatelessComponent can return string / boolean / array too. It would be nice to allow them somehow |
WIP until inferno issues are resolved * infernojs/inferno-typescript-example#13 * infernojs/inferno#1410
Is this still an issue? Should those type changes be updated to Inferno core types? Can you do PR there to see if it works? |
with the latest commit c4662f9 (based on inferno@^7.2, TS@^3.5.3), the above code now generates a new error, maybe linked to TS issue microsoft/TypeScript#28884. |
errors on
<ChildComponent value={value} />
:new since Inferno@6
The text was updated successfully, but these errors were encountered: