@@ -327,7 +327,7 @@ type ILspServer =
327327 /// progress initiated on the server side using the `window/workDoneProgress/create`. The progress need
328328 /// not be marked as cancellable to be cancelled and a client may cancel a progress for any number of
329329 /// reasons: in case of error, reloading a workspace etc.
330- abstract member WorkDoneProgressCancel: ProgressToken -> Async < unit >
330+ abstract member WorkDoneProgressCancel: WorkDoneProgressCancelParams -> Async < unit >
331331
332332 /// The inline value request is sent from the client to the server to compute inline values for a given text document
333333 /// that may be rendered in the editor at the end of lines.
@@ -766,7 +766,7 @@ type LspServer() =
766766 /// progress initiated on the server side using the `window/workDoneProgress/create`. The progress need
767767 /// not be marked as cancellable to be cancelled and a client may cancel a progress for any number of
768768 /// reasons: in case of error, reloading a workspace etc.
769- abstract member WorkDoneProgressCancel: ProgressToken -> Async < unit >
769+ abstract member WorkDoneProgressCancel: WorkDoneProgressCancelParams -> Async < unit >
770770
771771 default __.WorkDoneProgressCancel ( _ ) = ignoreNotification
772772
@@ -910,7 +910,7 @@ type LspServer() =
910910 member this.TextDocumentSemanticTokensRange ( p : SemanticTokensRangeParams ) = this.TextDocumentSemanticTokensRange( p)
911911 member this.TextDocumentInlayHint ( p : InlayHintParams ) = this.TextDocumentInlayHint( p)
912912 member this.InlayHintResolve ( p : InlayHint ) = this.InlayHintResolve( p)
913- member this.WorkDoneProgressCancel ( token ) = this.WorkDoneProgressCancel( token )
913+ member this.WorkDoneProgressCancel ( p : WorkDoneProgressCancelParams ) = this.WorkDoneProgressCancel( p )
914914 member this.TextDocumentInlineValue ( p : InlineValueParams ) = this.TextDocumentInlineValue( p)
915915
916916 member this.TextDocumentPrepareCallHierarchy ( p : CallHierarchyPrepareParams ) =
0 commit comments