From d17d1e517d70a70c551795edddc12dca588740e5 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Mon, 13 Oct 2025 14:01:26 -0700 Subject: [PATCH] Default settings change to user preferences --- _extension/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_extension/src/commands.ts b/_extension/src/commands.ts index d60192ff8e..18da6a3ca1 100644 --- a/_extension/src/commands.ts +++ b/_extension/src/commands.ts @@ -50,7 +50,7 @@ async function updateUseTsgoSetting(enable: boolean): Promise { useTsgo.globalValue !== undefined ? vscode.ConfigurationTarget.Global : undefined; } // Update the setting and restart the extension host (needed to change the state of the built-in TS extension) - await tsConfig.update("experimental.useTsgo", enable, target); + await tsConfig.update("experimental.useTsgo", enable, target ?? vscode.ConfigurationTarget.Global); await restartExtHostOnChangeIfNeeded(); }