absent
Restricting children to specific component types
Thanks --- I didn't realize that it was a limitation of TypeScript itself. And yeah, calling the child component as a function was as close as I got in my attempts. I guess I'll go look at TypeScript internals if I'm still interested in this down the line
3 replies