diff --git a/src/@types/state_events.ts b/src/@types/state_events.ts index f2e5b16b6..415f2806a 100644 --- a/src/@types/state_events.ts +++ b/src/@types/state_events.ts @@ -43,11 +43,6 @@ export interface RoomJoinRulesEventContent { }[]; } -/** - * @deprecated in favour of RoomJoinRulesEventContent - */ -export type IJoinRuleEventContent = RoomJoinRulesEventContent; - export interface RoomMemberEventContent { avatar_url?: string; displayname?: string; diff --git a/src/matrix.ts b/src/matrix.ts index ed71f7dfc..db185f149 100644 --- a/src/matrix.ts +++ b/src/matrix.ts @@ -105,6 +105,10 @@ export { IdentityProviderBrand, SSOAction } from "./@types/auth"; export type { ISSOFlow as SSOFlow, LoginFlow } from "./@types/auth"; export type { IHierarchyRelation as HierarchyRelation, IHierarchyRoom as HierarchyRoom } from "./@types/spaces"; export { LocationAssetType } from "./@types/location"; +/** + * @deprecated in favour of RoomJoinRulesEventContent on the types export + */ +export type { RoomJoinRulesEventContent as IJoinRuleEventContent } from "./@types/state_events"; /** * Types supporting cryptography.