mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
lint
This commit is contained in:
parent
e4b7693685
commit
0d65fe348b
2 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ export class Application {
|
|||
}
|
||||
}
|
||||
|
||||
async send (event: string, ...args): void {
|
||||
async send (event: string, ...args): Promise<void> {
|
||||
if (!this.hasWindows()) {
|
||||
await this.newWindow()
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ export class Application {
|
|||
}
|
||||
}
|
||||
|
||||
hasWindows (): bool {
|
||||
hasWindows (): boolean {
|
||||
return !!this.windows.length
|
||||
}
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ export class Window {
|
|||
this.window.webContents.send(event, ...args)
|
||||
}
|
||||
|
||||
isDestroyed (): void {
|
||||
isDestroyed (): boolean {
|
||||
return !this.window || this.window.isDestroyed()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue