Ouch...Just started using TypeScript in an existing React project and keep running up against this kind of nonsense. TS is by nature declarative, but it is ridiculous the number of complex workarounds I need to get past this: TS2322: type '{}' is not assignable to type 'y' When 'y' contains `{...props}`