TypeScript 2.9: Passing Generics to JSX Elements

added by JavaScript Kicks
3/26/2019 8:13:11 AM

293 Views

TypeScript 2.9 added the ability to specify type arguments for generic JSX elements. This means we can now write the following component in a TSX file: function Form() { // ...


0 comments