teleport-code-generators icon indicating copy to clipboard operation
teleport-code-generators copied to clipboard

Plugin for TypeScript support in JSX based frameworks

Open alexnm opened this issue 4 years ago • 1 comments

Stencil has default support for TS, but it would be nice to have a plugin alternative to teleport-plugin-jsx-proptypes that can:

  • declare a new type for the Props object
  • declare a new type for the State object (only for Preact since React uses hooks)
  • declare/specify the default props

alexnm avatar Aug 13 '19 10:08 alexnm

check this out --> https://github.com/lyft/react-javascript-to-typescript-transform

JayaKrishnaNamburu avatar Oct 16 '19 09:10 JayaKrishnaNamburu