Skip to content

Commit 4248b65

Browse files
committed
restore code from head of main
1 parent 21bef49 commit 4248b65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ export const plugin: Plugin<AstPathStackEntry> = {
101101
},
102102
printers: {
103103
'pug-ast': {
104-
print(
104+
// @ts-expect-error: Prettier allow it to be async if we don't do recursively print
105+
async print(
105106
path: AstPath,
106107
options: ParserOptions & PugParserOptions,
107108
print: (path: AstPath) => Doc,

0 commit comments

Comments
 (0)