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; modal.hidden = !modal.hidden;
} }
public hasDialogs(): boolean { public hasDialogs() {
return !!(this.priorityModal || this.staticModal || this.modals.length > 0); return this.priorityModal || this.staticModal || this.modals.length > 0;
} }
public createDialog<T extends any[]>( public createDialog<T extends any[]>(