mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
* Bind logger function before using * Use lambda isntead of bind
This commit is contained in:
1 parent
e3abc12209
commit
deaddb5595
1 file changed
+1
-1
@@ -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