You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Improve and consolidate typing
This commit is contained in:
@@ -39,7 +39,7 @@ function setProp(obj: object, keyNesting: string, val: any) {
|
||||
}
|
||||
|
||||
/* eslint-disable camelcase */
|
||||
interface IFilterDefinition {
|
||||
export interface IFilterDefinition {
|
||||
event_fields?: string[];
|
||||
event_format?: "client" | "federation";
|
||||
presence?: IFilterComponent;
|
||||
@@ -47,7 +47,7 @@ interface IFilterDefinition {
|
||||
room?: IRoomFilter;
|
||||
}
|
||||
|
||||
interface IRoomEventFilter extends IFilterComponent {
|
||||
export interface IRoomEventFilter extends IFilterComponent {
|
||||
lazy_load_members?: boolean;
|
||||
include_redundant_members?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user