You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: