-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
React's 'children' property is not properly recognized #6471
Comments
We've decided not to special-case the The recommended practice is to write the |
Seems like strange reasoning if you have Perhaps |
#13618 should address this. |
say I have:
In this case,
Container
is callingParent
correctly by passing in the children as nested elements.However, Typescript still complains that it doesnt see an explicit 'children' attribute.
Typescript should know that 'children' attribute is special.
TS version 1.7.3
The text was updated successfully, but these errors were encountered: