We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 239695f + 700af6a commit f947f6aCopy full SHA for f947f6a
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