1164 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
Join in on a hand-picked round up of the best JavaScript articles every day.
Curated by our Moderators and Voted up by our Community. Free.
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() { // ...