Use typed notification method

This commit is contained in:
Maria José Solano 2022-11-27 09:46:37 -08:00
parent d2281f0367
commit 8661740626

View file

@ -79,7 +79,7 @@ async function activateServer(ctx: Ctx): Promise<RustAnalyzerExtensionApi> {
); );
vscode.workspace.onDidChangeConfiguration( vscode.workspace.onDidChangeConfiguration(
async (_) => { async (_) => {
await ctx.client?.sendNotification("workspace/didChangeConfiguration", { await ctx.client?.sendNotification(lc.DidChangeConfigurationNotification.type, {
settings: "", settings: "",
}); });
}, },