Typescript-eslint: Get AST, how to turn it into source code? Thank you!

Created on 11 Mar 2019  路  3Comments  路  Source: typescript-eslint/typescript-eslint

Get AST, how to turn it into source code? Thank you!

typescript-estree question working as intended

Most helpful comment

Feel free to continue to discuss, but as this is unrelated to this repo, I'm going to close it.

There are also tools like https://www.npmjs.com/package/astring which can generate JS code, and with a bit of modification can also generate typescript.

All 3 comments

You could try Prettier.

You could try Prettier.

Okay, thank you.

Feel free to continue to discuss, but as this is unrelated to this repo, I'm going to close it.

There are also tools like https://www.npmjs.com/package/astring which can generate JS code, and with a bit of modification can also generate typescript.

Was this page helpful?
0 / 5 - 0 ratings