This error just started happening randomly:
However if I make a wrapping component that spreads props and introduces children there's no error:
const WorkingVersion = (props: {id?: number}) => <SimpleComponent {...props}><div>hello</div></SimpleComponent>
This issue also does not happen on codesandbox for typescript making me think it's a specific issue on my machine.
I tried reverting to the last working version however it somehow didn't fix the issue I was having.
What should I be looking for that could cause this error to popup?