Fixes https://github.com/microsoft/vscode/issues/75222 Fixes https://github.com/microsoft/TypeScript/issues/31623