Skip to content

Commit 2231db0

Browse files
authored
fix(runtimes): fix protocol/lsp circular dependency (#573)
1 parent 2d4724c commit 2231db0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

runtimes/protocol/inlineCompletionWithReferences.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import {
33
InlineCompletionItemWithReferences,
44
LogInlineCompletionSessionResultsParams,
55
InlineCompletionRegistrationOptions,
6-
ProtocolNotificationType,
7-
ProtocolRequestType,
86
InlineCompletionParams,
97
PartialResultParams,
108
} from './lsp'
119

10+
import { ProtocolNotificationType, ProtocolRequestType } from 'vscode-languageserver-protocol'
11+
1212
export type InlineCompletionWithReferencesParams = InlineCompletionParams & PartialResultParams
1313

1414
export const inlineCompletionWithReferencesRequestType = new ProtocolRequestType<

runtimes/protocol/inlineCompletions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ import {
22
InlineCompletionItem,
33
InlineCompletionList,
44
InlineCompletionParams,
5-
ProtocolRequestType,
65
InlineCompletionRegistrationOptions,
76
} from './lsp'
87

8+
import { ProtocolRequestType } from 'vscode-languageserver-protocol'
9+
910
/**
1011
* inlineCompletionRequestType defines the custom method that the language client
1112
* requests from the server to provide inline completion recommendations.

0 commit comments

Comments
 (0)