We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d52915a commit ac40307Copy full SHA for ac40307
1 file changed
tools/lspClient/LspClient.ts
@@ -8,6 +8,7 @@ import {
8
IPCMessageWriter,
9
TextDocumentContentChangeEvent,
10
ConfigurationParams,
11
+ DidChangeConfigurationParams,
12
} from 'vscode-languageserver-protocol/node';
13
import { Hover, CompletionList } from 'vscode-languageserver-types';
14
import { randomBytes } from 'crypto';
@@ -222,7 +223,7 @@ export class LspClient implements LspConnection {
222
223
});
224
}
225
- async changeConfiguration(params: { settings: Record<string, unknown> }): Promise<void> {
226
+ async changeConfiguration(params: DidChangeConfigurationParams): Promise<void> {
227
// Store the new configuration
228
if (params.settings) {
229
const currentConfig = this.workspaceConfig[0] ?? {};
0 commit comments