strothj / react-docgen-typescript-loader

Webpack loader to generate docgen information from Typescript React components.
Other
360 stars 47 forks source link

create-react-app (typescript) app - not extracting proptypes #17

Closed msreekm closed 5 years ago

msreekm commented 6 years ago

i tried to implement this into my existing TS react application which was built with create-react-app-typescript and the proptypes was not extracted. any suggestions?

dominikchrastek commented 6 years ago

Do you use plugin or loader? I had similar issue and then I switched from plugin to loader and now it works @msreekm

strothj commented 5 years ago

I'm closing this issue because create-react-app-typescript is now deprecated and I unfortunately did not have the time to get back to this issue. Sorry!

There was an example posted here for create-react-app which now supports TypeScript: https://github.com/strothj/react-docgen-typescript-loader/issues/33#issuecomment-463799754