Skip to content

Commit

Permalink
removed custom parser in the printer options
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Dec 11, 2021
1 parent 6cd55d0 commit 68e89ff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utils/generate-javascript.js
@@ -1,4 +1,3 @@
import {parse as customParser} from 'recast/parsers/typescript'
import {print} from 'recast'
/**
* Generate the javascript from an ast source
Expand All @@ -9,9 +8,6 @@ import {print} from 'recast'
export default function generateJavascript(ast, options) {
return print(ast, {
...options,
parser: {
parse: customParser
},
tabWidth: 2,
wrapColumn: 0,
quote: 'single'
Expand Down

0 comments on commit 68e89ff

Please sign in to comment.