Roll back strict type improvements

This commit is contained in:
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

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[]>(