mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
* Bind logger function before using * Use lambda isntead of bind
This commit is contained in:
@@ -150,7 +150,7 @@ namespace ts.server.typingsInstaller {
|
||||
}
|
||||
const discoverTypingsResult = JsTyping.discoverTypings(
|
||||
this.installTypingHost,
|
||||
this.log.isEnabled() ? this.log.writeLine : undefined,
|
||||
this.log.isEnabled() ? (s => this.log.writeLine(s)) : undefined,
|
||||
req.fileNames,
|
||||
req.projectRootPath,
|
||||
this.safeList,
|
||||
|
||||
Reference in New Issue
Block a user