Skip to content

Commit f483495

Browse files
committed
Use {} instead of any to improve type checking
1 parent 39e6a00 commit f483495

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ namespace ts.server {
572572
}
573573
}
574574

575-
private writeToEventSocket(body: any, eventName: string): void {
575+
private writeToEventSocket(body: {}, eventName: string): void {
576576
this.eventSocket.write(formatMessage(toEvent(eventName, body), this.logger, this.byteLength, this.host.newLine), "utf8");
577577
}
578578

0 commit comments

Comments
 (0)