mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Roll back strict type improvements
This commit is contained in:
parent
f6338591a9
commit
f2178bd164
@ -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[]>(
|
||||
|
Loading…
Reference in New Issue
Block a user