@@ -186,7 +186,7 @@ export class LspWsConnection
186186 version : documentInfo . version
187187 } as protocol . TextDocumentItem
188188 } ;
189- this . connection . sendNotification (
189+ void this . connection . sendNotification (
190190 'textDocument/didOpen' ,
191191 textDocumentMessage
192192 ) ;
@@ -209,7 +209,7 @@ export class LspWsConnection
209209 } as protocol . VersionedTextDocumentIdentifier ,
210210 contentChanges : [ { text : documentInfo . text } ]
211211 } ;
212- this . connection . sendNotification (
212+ void this . connection . sendNotification (
213213 'textDocument/didChange' ,
214214 textDocumentChange
215215 ) ;
@@ -228,7 +228,7 @@ export class LspWsConnection
228228 } as protocol . VersionedTextDocumentIdentifier ,
229229 text : documentInfo . text
230230 } ;
231- this . connection . sendNotification (
231+ void this . connection . sendNotification (
232232 'textDocument/didSave' ,
233233 textDocumentChange
234234 ) ;
@@ -241,7 +241,7 @@ export class LspWsConnection
241241 return ;
242242 }
243243
244- this . connection . sendNotification (
244+ void this . connection . sendNotification (
245245 'workspace/didChangeConfiguration' ,
246246 settings
247247 ) ;
@@ -606,8 +606,8 @@ export class LspWsConnection
606606 protected onServerInitialized ( params : protocol . InitializeResult ) {
607607 this . isInitialized = true ;
608608 this . serverCapabilities = params . capabilities ;
609- this . connection . sendNotification ( 'initialized' , { } ) ;
610- this . connection . sendNotification ( 'workspace/didChangeConfiguration' , {
609+ void this . connection . sendNotification ( 'initialized' , { } ) ;
610+ void this . connection . sendNotification ( 'workspace/didChangeConfiguration' , {
611611 settings : { }
612612 } ) ;
613613 this . emit ( 'serverInitialized' , this . serverCapabilities ) ;
0 commit comments