AlexGilleran / jsx-control-statements

Neater If and For for React JSX
https://www.npmjs.com/package/babel-plugin-jsx-control-statements
MIT License
1.62k stars 64 forks source link

Added types to files list and integrated `types` generation into `prepublish` #93

Closed jglanz closed 3 years ago

jglanz commented 4 years ago

Hi, I personally use webpack & babel transformation - so I opted for this package vs tsx-control-components, but the index.d.ts while in the source repo wasn't being published, so i updated the scripts adding types and now using this package for typescript, tsx & jsx should have complete interoperability assuming babel-loader in webpack

If i missed something please let me know

texttechne commented 3 years ago

This library doesn't work with typescript. You have to stick to tsx-control-statements...