ast-generator
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -484,3 +484,5 @@ #!/usr/bin/env node | ||
} | ||
const code = _prettier2.default.format(uglyCode, __spreadProps(__spreadValues({}, config), { parser: "typescript" })); | ||
const code = yield _prettier2.default.format(uglyCode, __spreadProps(__spreadValues({}, config), { | ||
parser: "typescript" | ||
})); | ||
writeFile(code, outpath); | ||
@@ -487,0 +489,0 @@ }); |
{ | ||
"name": "ast-generator", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Helper to generate a TypeScript or JavaScript module for an arbitrary AST definition from a specification.", | ||
@@ -5,0 +5,0 @@ "bin": { |
18615
505