Skip to content

Commit

Permalink
Fix compatibility with prettier v3
Browse files Browse the repository at this point in the history
Closes #451
  • Loading branch information
lehni committed Jul 9, 2023
1 parent 9d0b37f commit 9cf7f28
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type {
AstPath,
Doc,
Options,
Parser,
ParserOptions,
Plugin,
Expand Down Expand Up @@ -107,12 +106,7 @@ export const plugin: Plugin = {
logger.debug('[printers:pug-ast:print]:', result);
return result;
},
embed(
path: AstPath,
print: (path: AstPath) => Doc,
textToDoc: (text: string, options: Options) => Doc,
options: ParserOptions,
): Doc | null {
embed(path: AstPath): Doc | null {
// logger.debug('[printers:pug-ast:embed]:', JSON.stringify(path, undefined, 2));
return null;
},
Expand Down

0 comments on commit 9cf7f28

Please sign in to comment.