Hacker News new | ask | show | jobs
by alexlur 1043 days ago
Programmatically yes: https://github.com/microsoft/TypeScript/blob/28cd1fbd13b8d09...

You just need to call this from somewhere like ts-morph.