node-typescript-parser
node-typescript-parser copied to clipboard
Parser for typescript (and javascript) files, that compiles those files and generates a human understandable AST.
Rough implementation of feature requested in issue #88. This creates a new class/interface declaration with only the name of the inherited/implemented entity. An improvement that could be done would be...
## Steps to reproduce ``` import * from './subtest/test1' import * as test2 from './subtest/test2' // ← broken case ``` ## Current behavior Both will create something like: ``` {...
related: #119
Since parse might be used in some pipeline operation, not all these pipelines are promise-friendly. And this method could have been sync: ```typescript public async parseFiles( filePathes: string[], rootPath: string):...