There was an error while loading. Please reload this page.
1 parent 3d30f5f commit f13725dCopy full SHA for f13725d
README.md
@@ -25,7 +25,7 @@ const parser = new TypescriptParser();
25
const parsed = await parser.parseSource(/* typescript source code as string */);
26
27
// or a filepath
28
-const parsed = await parser.parseSource('/user/myfile.ts', 'workspace root');
+const parsed = await parser.parseFile('/user/myfile.ts', 'workspace root');
29
```
30
31
You can also parse multiple files at ones.
0 commit comments