mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 07:29:16 -05:00
Retain space after first word in multiline jsdoc
For words that were shorter than the jsdoc indent level, the space was omitted previously.
This commit is contained in:
@@ -6238,6 +6238,7 @@ namespace ts {
|
||||
}
|
||||
if (token() === SyntaxKind.NewLineTrivia) {
|
||||
state = JSDocState.BeginningOfLine;
|
||||
indent = 0;
|
||||
nextJSDocToken();
|
||||
}
|
||||
while (token() !== SyntaxKind.EndOfFileToken) {
|
||||
|
||||
Reference in New Issue
Block a user