-- test.jsx --
== should parse ==
const x = <P extends object>(a: React.ComponentType<P>): React.ComponentType<P & { a: string }> => React.memo();

[expect]
const x = <P extends object>(a: React.ComponentType<P>): React.ComponentType<P & { a: string }> => React.memo();
