mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
lint
This commit is contained in:
@@ -510,13 +510,13 @@ namespace ts.server {
|
||||
class IOSession extends Session {
|
||||
constructor(options: IoSessionOptions) {
|
||||
const { host, eventPort, globalTypingsCacheLocation, typingSafeListLocation, typesMapLocation, npmLocation, canUseEvents } = options;
|
||||
|
||||
|
||||
let event: Event;
|
||||
if (canUseEvents && eventPort) {
|
||||
const eventSender = new SocketEventSender(host, logger, eventPort);
|
||||
event = eventSender.event;
|
||||
}
|
||||
|
||||
|
||||
const typingsInstaller = disableAutomaticTypingAcquisition
|
||||
? undefined
|
||||
: new NodeTypingsInstaller(telemetryEnabled, logger, host, globalTypingsCacheLocation, typingSafeListLocation, typesMapLocation, npmLocation);
|
||||
|
||||
Reference in New Issue
Block a user