mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-11 10:46:28 -05:00
Fix unbound host.getNewLine
This commit is contained in:
@@ -841,7 +841,7 @@ namespace ts.Completions {
|
||||
target: options.target,
|
||||
omitTrailingSemicolon: true,
|
||||
hasSnippet: true,
|
||||
newLine: getNewLineKind(getNewLineCharacter(options, host.getNewLine)),
|
||||
newLine: getNewLineKind(getNewLineCharacter(options, maybeBind(host, host.getNewLine))),
|
||||
});
|
||||
const importAdder = codefix.createImportAdder(sourceFile, program, preferences, host);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user