Skip to content

Commit 76d258f

Browse files
authored
fix: add document change params (#618)
1 parent 788deee commit 76d258f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

runtimes/protocol/inlineCompletionWithReferences.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,17 @@ import {
77
PartialResultParams,
88
} from './lsp'
99

10-
import { ProtocolNotificationType, ProtocolRequestType } from 'vscode-languageserver-protocol'
10+
import {
11+
DidChangeTextDocumentParams,
12+
ProtocolNotificationType,
13+
ProtocolRequestType,
14+
} from 'vscode-languageserver-protocol'
15+
16+
interface DocumentChangeParams {
17+
documentChangeParams?: DidChangeTextDocumentParams
18+
}
1119

12-
export type InlineCompletionWithReferencesParams = InlineCompletionParams & PartialResultParams
20+
export type InlineCompletionWithReferencesParams = InlineCompletionParams & PartialResultParams & DocumentChangeParams
1321

1422
export const inlineCompletionWithReferencesRequestType = new ProtocolRequestType<
1523
InlineCompletionWithReferencesParams,

0 commit comments

Comments
 (0)