diff --git a/src/chat.ts b/src/chat.ts index 59f84f38..b266b30f 100644 --- a/src/chat.ts +++ b/src/chat.ts @@ -40,9 +40,10 @@ export type ExtensionMessage = | { target: "extension"; request: "updateConfiguration"; - section: string; - value: any; - configurationTarget: boolean; + section: "sourcery.codeLens"; + value: boolean; + // https://code.visualstudio.com/api/references/vscode-api#ConfigurationTarget + configurationTarget: vscode.ConfigurationTarget; }; type LanguageServerMessage = {