New type definitions in react 18.0.0 (@types/react) flag this component for having children when it it's type definition doesn't say it has any children. This change should be backwards compatible since PropsWithChildren has existed for awhile and this is just a clarification on the underlying type.
New type definitions in react 18.0.0 (@types/react) flag this component for having children when it it's type definition doesn't say it has any children. This change should be backwards compatible since PropsWithChildren has existed for awhile and this is just a clarification on the underlying type.