mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
Use type param in getValue
This commit is contained in:
@@ -28,7 +28,7 @@ class TerminalOscNotificationsContribution extends Disposable implements ITermin
|
||||
) {
|
||||
super();
|
||||
this._handler = this._register(new TerminalNotificationHandler({
|
||||
isEnabled: () => this._configurationService.getValue(TerminalOscNotificationsSettingId.EnableNotifications),
|
||||
isEnabled: () => this._configurationService.getValue<boolean>(TerminalOscNotificationsSettingId.EnableNotifications) === true,
|
||||
isWindowFocused: () => dom.getActiveWindow().document.hasFocus(),
|
||||
isTerminalVisible: () => this._ctx.instance.isVisible,
|
||||
focusTerminal: () => this._ctx.instance.focus(true),
|
||||
|
||||
Reference in New Issue
Block a user