Hi, I expected this code snippet to error:
But it doesn't work as assumed. In this code C has no requiredProp, which doesn't match the children type signature.
Is there a way to check the props type of the children?
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.