mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-08 01:28:26 -05:00
Merge from vscode fc10e26ea50f82cdd84e9141491357922e6f5fba (#4639)
This commit is contained in:
@@ -50,7 +50,7 @@ export class IssueService implements IIssueService {
|
||||
});
|
||||
});
|
||||
|
||||
ipcMain.on('vscode:issueReporterConfirmClose', (_) => {
|
||||
ipcMain.on('vscode:issueReporterConfirmClose', () => {
|
||||
const messageOptions = {
|
||||
message: localize('confirmCloseIssueReporter', "Your input will not be saved. Are you sure you want to close this window?"),
|
||||
type: 'warning',
|
||||
@@ -72,7 +72,7 @@ export class IssueService implements IIssueService {
|
||||
}
|
||||
});
|
||||
|
||||
ipcMain.on('vscode:workbenchCommand', (_, commandInfo) => {
|
||||
ipcMain.on('vscode:workbenchCommand', (_: unknown, commandInfo) => {
|
||||
const { id, from, args } = commandInfo;
|
||||
|
||||
let parentWindow: BrowserWindow | null;
|
||||
@@ -92,7 +92,7 @@ export class IssueService implements IIssueService {
|
||||
}
|
||||
});
|
||||
|
||||
ipcMain.on('vscode:openExternal', (_, arg) => {
|
||||
ipcMain.on('vscode:openExternal', (_: unknown, arg) => {
|
||||
this.windowsService.openExternal(arg);
|
||||
});
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@ export class IssueChannel implements IServerChannel {
|
||||
|
||||
constructor(private service: IIssueService) { }
|
||||
|
||||
listen<T>(_, event: string): Event<T> {
|
||||
listen<T>(_: unknown, event: string): Event<T> {
|
||||
throw new Error(`Event not found: ${event}`);
|
||||
}
|
||||
|
||||
call(_, command: string, arg?: any): Promise<any> {
|
||||
call(_: unknown, command: string, arg?: any): Promise<any> {
|
||||
switch (command) {
|
||||
case 'openIssueReporter':
|
||||
return this.service.openReporter(arg);
|
||||
|
||||
Reference in New Issue
Block a user