dsherret / ts-type-info

TypeScript AST and code generator [Deprecated]
MIT License
94 stars 8 forks source link

project suitable for complex refactoring? #191

Closed DustinWehr closed 7 years ago

DustinWehr commented 8 years ago

Is this project an answer to this? https://www.reddit.com/r/typescript/comments/54bzah/friendly_typedclassbased_representation_of/

dsherret commented 8 years ago

I know your pain. Working with the compiler api is difficult, but unfortunately this library is not very good for complex project refactoring. Right now it doesn't get any statements, but I may add that in the future.

It's more useful for projects like server-bridge where code is generated based on the structure of other code.

dsherret commented 7 years ago

For anyone reading through this issue, please check out ts-simple-ast as it is suitable for refactoring code.