mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
Use {} instead of any to improve type checking
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user