@@ -141,15 +141,15 @@ export interface IClientResult {
141
141
export type ServerNotifications <
142
142
T extends keyof IServerNotifyParams = keyof IServerNotifyParams
143
143
> = {
144
- readonly // ISignal does not have emit, which is intended - client cannot emit server notifications.
145
- [ key in T ] : ISignal < LSPConnection , IServerNotifyParams [ key ] > ;
144
+ // ISignal does not have emit, which is intended - client cannot emit server notifications.
145
+ readonly [ key in T ] : ISignal < LSPConnection , IServerNotifyParams [ key ] > ;
146
146
} ;
147
147
148
148
export type ClientNotifications <
149
149
T extends keyof IClientNotifyParams = keyof IClientNotifyParams
150
150
> = {
151
- readonly // Signal has emit.
152
- [ key in T ] : Signal < LSPConnection , IClientNotifyParams [ key ] > ;
151
+ // Signal has emit.
152
+ readonly [ key in T ] : Signal < LSPConnection , IClientNotifyParams [ key ] > ;
153
153
} ;
154
154
155
155
export interface IClientRequestHandler <
@@ -173,15 +173,15 @@ export interface IServerRequestHandler<
173
173
export type ClientRequests <
174
174
T extends keyof IClientRequestParams = keyof IClientRequestParams
175
175
> = {
176
- readonly // has async request(params) returning a promise with result.
177
- [ key in T ] : IClientRequestHandler < key > ;
176
+ // has async request(params) returning a promise with result.
177
+ readonly [ key in T ] : IClientRequestHandler < key > ;
178
178
} ;
179
179
180
180
export type ServerRequests <
181
181
T extends keyof IServerRequestParams = keyof IServerRequestParams
182
182
> = {
183
- readonly // has async request(params) returning a promise with result.
184
- [ key in T ] : IServerRequestHandler < key > ;
183
+ // has async request(params) returning a promise with result.
184
+ readonly [ key in T ] : IServerRequestHandler < key > ;
185
185
} ;
186
186
187
187
class ClientRequestHandler <
0 commit comments