Skip to content

Commit f02ce1f

Browse files
committed
PR Feedback
1 parent 64ff691 commit f02ce1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/comments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace ts {
1111
emitTrailingCommentsOfPosition(pos: number): void;
1212
}
1313

14-
export function createCommentWriter(printerOptions: PrinterOptions, emitPos: (pos: number) => void): CommentWriter {
14+
export function createCommentWriter(printerOptions: PrinterOptions, emitPos: ((pos: number) => void) | undefined): CommentWriter {
1515
const extendedDiagnostics = printerOptions.extendedDiagnostics;
1616
const newLine = getNewLineCharacter(printerOptions);
1717
let writer: EmitTextWriter;

0 commit comments

Comments
 (0)