This commit is contained in:
Eugene Pankov
2020-03-01 17:07:11 +01:00
parent e4b7693685
commit 0d65fe348b
2 changed files with 3 additions and 3 deletions

View File

@@ -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
}