Correct type annotation for shouldPrintComment
I think this is supposed to be a `Function` that returns a `boolean`.
This commit is contained in:
parent
16ae7c2d9a
commit
b6dabff82e
@ -34,7 +34,7 @@ export class CodeGenerator extends Printer {
|
||||
}
|
||||
|
||||
format: {
|
||||
shouldPrintComment: boolean;
|
||||
shouldPrintComment: (comment: string) => boolean;
|
||||
retainLines: boolean;
|
||||
comments: boolean;
|
||||
auxiliaryCommentBefore: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user