ts-react-loader
ts-react-loader copied to clipboard
Automatic prop-types from TypeScript types
If you're interested in helping develop this library into something more "production ready", or even just interested in using it, say hi below.
The TypeScript compiler API supports _transforms_ for a while now. It should be possible to implement the main functionality independent of webpack, and then expose it as a compiler transform...
I don't have one in mind yet, would like to ask a few people for their recommendations
Currently the code just stringifies types and compares them against constant strings. This doesn't work if the import isn't named `React`. Investigation needed: can we do reliable symbol comparisons with...
Scan the AST for functions matching the following criteria: - either declared or assigned to top-level constants - return type includes `React.Element` - takes one or two arguments (2 for...
Probably worth looking into what other Webpack loaders do, but even just something that verifies the output of compiling an example output would be a good start.