We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb3e93f + f947f6a commit 2b2b150Copy full SHA for 2b2b150
1 file changed
src/services/services.ts
@@ -7179,8 +7179,7 @@ namespace ts {
7179
7180
const indentationStr = sourceFile.text.substr(lineStart, posLineAndChar.character);
7181
7182
- // TODO: call a helper method instead once PR #4133 gets merged in.
7183
- const newLine = host.getNewLine ? host.getNewLine() : "\r\n";
+ const newLine = getNewLineOrDefaultFromHost(host);
7184
7185
let docParams = "";
7186
for (let i = 0, numParams = parameters.length; i < numParams; i++) {
0 commit comments