Roll back strict type improvements

pull/28217/head
Michael Weimann 2023-01-03 15:59:08 +01:00
parent f6338591a9
commit f2178bd164
No known key found for this signature in database
GPG Key ID: 53F535A266BB9584
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ export class ModalManager extends TypedEventEmitter<ModalManagerEvent, HandlerMa
modal.hidden = !modal.hidden;
}
public hasDialogs(): boolean {
return !!(this.priorityModal || this.staticModal || this.modals.length > 0);
public hasDialogs() {
return this.priorityModal || this.staticModal || this.modals.length > 0;
}
public createDialog<T extends any[]>(