Correct type annotation for shouldPrintComment

I think this is supposed to be a `Function` that returns a `boolean`.
This commit is contained in:
Steven Luscher 2015-12-17 10:50:59 -08:00
parent 16ae7c2d9a
commit b6dabff82e

View File

@ -34,7 +34,7 @@ export class CodeGenerator extends Printer {
} }
format: { format: {
shouldPrintComment: boolean; shouldPrintComment: (comment: string) => boolean;
retainLines: boolean; retainLines: boolean;
comments: boolean; comments: boolean;
auxiliaryCommentBefore: string; auxiliaryCommentBefore: string;