Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _extension/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function updateUseTsgoSetting(enable: boolean): Promise<void> {
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();
}

Expand Down