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

Custom interfaces for ts/tsx #116

Closed
alazurenko opened this issue Oct 30, 2019 · 3 comments
Closed

Custom interfaces for ts/tsx #116

alazurenko opened this issue Oct 30, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@alazurenko
Copy link

Hello,
Thank you for your effort on building this useful tool 👍

I have a question regarding name of the interface that is used during the analyze of ts files:
Would be feasible to customize the name of an interface for analysis. For instance, HTMLElementTagNameMap to IntrinsicElements?

What do you think?

@runem
Copy link
Owner

runem commented Nov 2, 2019

Thanks, I'm happy you like it ☀️

Definitely! I might built a separate JSX-flavor for this, that can be activated via a flag (eg. --jsx). Would there be more JSX-declaration specific syntax to support? Eg. IntrinsicAttributes?

@runem runem added the enhancement New feature or request label Nov 2, 2019
@alazurenko
Copy link
Author

Thanks for the reply!
I believe it would be beneficial to have them :)

@runem
Copy link
Owner

runem commented Dec 13, 2019

Version 1.0.0, which has just been published, supports IntrinsicElements and IntrinsicAttributes out of the box 🎉

@runem runem closed this as completed Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants