Skip to content

Commit b78a1ad

Browse files
committed
Hotfix types export point
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent a25cdce commit b78a1ad

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/@types/state_events.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ export interface RoomJoinRulesEventContent {
4343
}[];
4444
}
4545

46-
/**
47-
* @deprecated in favour of RoomJoinRulesEventContent
48-
*/
49-
export type IJoinRuleEventContent = RoomJoinRulesEventContent;
50-
5146
export interface RoomMemberEventContent {
5247
avatar_url?: string;
5348
displayname?: string;

src/matrix.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ export { IdentityProviderBrand, SSOAction } from "./@types/auth";
105105
export type { ISSOFlow as SSOFlow, LoginFlow } from "./@types/auth";
106106
export type { IHierarchyRelation as HierarchyRelation, IHierarchyRoom as HierarchyRoom } from "./@types/spaces";
107107
export { LocationAssetType } from "./@types/location";
108+
/**
109+
* @deprecated in favour of RoomJoinRulesEventContent on the types export
110+
*/
111+
export type { RoomJoinRulesEventContent as IJoinRuleEventContent } from "./@types/state_events";
108112

109113
/**
110114
* Types supporting cryptography.

0 commit comments

Comments
 (0)