Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal - add support for .ts and .tsx extensions #76

Open
releaf opened this issue Apr 10, 2018 · 3 comments · May be fixed by #78
Open

Proposal - add support for .ts and .tsx extensions #76

releaf opened this issue Apr 10, 2018 · 3 comments · May be fixed by #78
Labels
help wanted v2 Available in v2

Comments

@releaf
Copy link

releaf commented Apr 10, 2018

If it isn't already supported, it'd be awesome to support TypeScript files in this project as well.

@CVarisco
Copy link
Owner

Hi @releaf

thanks for your proposal!
Can you explain which kind of support do you think for Typescript? Which process/feature should have the support?

@releaf
Copy link
Author

releaf commented Apr 10, 2018

I think it'd be cool to be able to select from a list of TypeScript components. We could set them up to use interfaces for State and Props instead of defining PropTypes. Then we'd pass State and Props into the class or function in the case of presentational/stateless components. The only other thing we'd need to do would be to allow the user to select .ts or .tsx as a file extension.

Do you think I could accomplish all of this just by setting up a config file?

@CVarisco
Copy link
Owner

Hi @releaf

I'm really sorry for the delay :(
Anyway, you have the capability to create your own templates and use it with create-component-app.
I can help you to create a custom template if you share with me one component that you want to use as a template.
Just try to follow this guide and tell me what do you think

@CVarisco CVarisco added the v2 Available in v2 label May 28, 2018
@lkostrowski lkostrowski linked a pull request Jun 7, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted v2 Available in v2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants