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

Support TSESTree input and TypeScript output #707

Open
bjornharrtell opened this issue May 9, 2024 · 0 comments
Open

Support TSESTree input and TypeScript output #707

bjornharrtell opened this issue May 9, 2024 · 0 comments

Comments

@bjornharrtell
Copy link
Contributor

Motivation

My own motivation is that I have a translation from a typed language (Java) to ESTree and generate JavaScript from that with astring, but would like to preseve some of the type information and target TypeScript instead.

Apparently eslint has made exensions to ESTree called TSESTree but AFAICT they only use it to transform TypeScript into AST not the other way round.

Expected behavior

A flag to output TypeScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant