mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Use {} instead of any to improve type checking
This commit is contained in:
1 parent
39e6a00054
commit
f483495408
1 file changed
+1
-1
@@ -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