mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
Fixing some project wide intellisense issues in safari (#176294)
For #175229 - Safari can't transfer `Proxy` objects - Safari's nested worker polyfill wasn't forwarding along the `ports` field on message events
This commit is contained in:
@@ -200,7 +200,9 @@ export abstract class BaseServiceConfigurationProvider implements ServiceConfigu
|
||||
}
|
||||
|
||||
protected readWatchOptions(configuration: vscode.WorkspaceConfiguration): Proto.WatchOptions | undefined {
|
||||
return configuration.get<Proto.WatchOptions>('typescript.tsserver.watchOptions');
|
||||
const watchOptions = configuration.get<Proto.WatchOptions>('typescript.tsserver.watchOptions');
|
||||
// Returned value may be a proxy. Clone it into a normal object
|
||||
return { ...(watchOptions ?? {}) };
|
||||
}
|
||||
|
||||
protected readIncludePackageJsonAutoImports(configuration: vscode.WorkspaceConfiguration): 'auto' | 'on' | 'off' | undefined {
|
||||
|
||||
Reference in New Issue
Block a user