Dependencies update. Updated README.md with an updated examples

This commit is contained in:
sanex
2021-06-18 10:48:46 +03:00
parent 08aad1b706
commit a4d3081f34
6 changed files with 236 additions and 203 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export class ASTParserFacade {
sourceType
};
const program: ESTree.Program = <any>acorn
const program: acorn.Node & ESTree.Program = <acorn.Node & ESTree.Program>acorn
.parse(sourceCode, config);
if (comments.length) {