TypeScript 5.1 lets JSX libraries define valid components
engineeringtypescriptjsxtypingcompilerThe stable release separates component eligibility from JSX expression types. Its other changes make API asymmetry and compiler environment assumptions more explicit.