We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8e192a commit e2ff42fCopy full SHA for e2ff42f
1 file changed
src/compiler/parser.ts
@@ -6183,6 +6183,7 @@ namespace ts {
6183
let advanceToken = true;
6184
let state = JSDocState.SawAsterisk;
6185
let margin: number | undefined = undefined;
6186
+ // + 4 for leading '/** '
6187
let indent = start - Math.max(content.lastIndexOf("\n", start), 0) + 4;
6188
function pushComment(text: string) {
6189
if (!margin) {
0 commit comments