carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 47 forks source link

TypeScript Support #315

Open darthtrevino opened 8 years ago

darthtrevino commented 8 years ago

It looks like TypeScript React components are not supported. It would be nice if you could run components through Webpack's configured loaders prior to this plugin using them.

nikgraf commented 8 years ago

That would be great. Right now we use react-docgen which only parses PropTypes & Flow from what I know.

There was the idea floating around to switch to Recon https://github.com/carteb/carte-blanche/issues/293 Ideally we should find a solution that i fairly easy to extend and support these out of the box:

unindented commented 7 years ago

Can anybody give some guidance on the work necessary to get components written in TypeScript working with carte-blanche? I'm not familiar with the codebase, but I'd benefit from this, so I'm willing to help.