Skip to content

Commit

Permalink
Fix types on RoomEvent
Browse files Browse the repository at this point in the history
Fixes #155
Closes #156
  • Loading branch information
turt2live committed Sep 20, 2021
1 parent 9b2a7ab commit 03b8b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/events/RoomEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface RoomEventContent {
* A Matrix room event.
* @category Matrix events
*/
export class RoomEvent<T extends Object> extends MatrixEvent<T> {
export class RoomEvent<T extends Object | unknown> extends MatrixEvent<T> {
constructor(protected event: any) {
super(event);
}
Expand Down

0 comments on commit 03b8b24

Please sign in to comment.