Skip to content

Commit b2dc830

Browse files
committed
refactor: use vscode ConfigurationTarget type and add link
1 parent f1c940a commit b2dc830

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/chat.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ export type ExtensionMessage =
4040
| {
4141
target: "extension";
4242
request: "updateConfiguration";
43-
section: string;
44-
value: any;
45-
configurationTarget: boolean;
43+
section: "sourcery.codeLens";
44+
value: boolean;
45+
// https://code.visualstudio.com/api/references/vscode-api#ConfigurationTarget
46+
configurationTarget: vscode.ConfigurationTarget;
4647
};
4748

4849
type LanguageServerMessage = {

0 commit comments

Comments
 (0)