mirror of https://github.com/vector-im/riot-web
Roll back strict type improvements
parent
f6338591a9
commit
f2178bd164
|
@ -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[]>(
|
||||||
|
|
Loading…
Reference in New Issue