Use {} instead of any to improve type checking
This commit is contained in:
parent
39e6a00054
commit
f483495408
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ namespace ts.server {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private writeToEventSocket(body: any, eventName: string): void {
|
private writeToEventSocket(body: {}, eventName: string): void {
|
||||||
this.eventSocket.write(formatMessage(toEvent(eventName, body), this.logger, this.byteLength, this.host.newLine), "utf8");
|
this.eventSocket.write(formatMessage(toEvent(eventName, body), this.logger, this.byteLength, this.host.newLine), "utf8");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue