We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21bef49 commit 824ae96Copy full SHA for 824ae96
2 files changed
src/index.ts
@@ -101,7 +101,8 @@ export const plugin: Plugin<AstPathStackEntry> = {
101
},
102
printers: {
103
'pug-ast': {
104
- print(
+ // @ts-expect-error: Prettier allow it to be async if we don't do recursively print
105
+ async print(
106
path: AstPath,
107
options: ParserOptions & PugParserOptions,
108
print: (path: AstPath) => Doc,
src/printer.ts
@@ -1,3 +1,4 @@
1
+import { types } from 'node:util';
2
import type { BuiltInParserName, Options, RequiredOptions } from 'prettier';
3
import { format } from 'prettier';
4
import type PrettierAngularPlugin from 'prettier/plugins/angular';
0 commit comments