Fix more type definitions
This commit is contained in:
parent
f929d2ee5f
commit
02e72d8b04
11 changed files with 32 additions and 33 deletions
|
@ -300,7 +300,7 @@ export default class EventIndex extends EventEmitter {
|
|||
}
|
||||
|
||||
private eventToJson(ev: MatrixEvent) {
|
||||
const jsonEvent = ev.toJSON();
|
||||
const jsonEvent: any = ev.toJSON();
|
||||
const e = ev.isEncrypted() ? jsonEvent.decrypted : jsonEvent;
|
||||
|
||||
if (ev.isEncrypted()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue