Skip to content

Commit 334bf2c

Browse files
committed
Try more reasonable type
1 parent f05b786 commit 334bf2c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/views/messages/IBodyProps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ export interface IBodyProps {
3939
layout?: Layout;
4040
youtubeEmbedPlayer?: boolean;
4141
scBubble?: boolean;
42-
scBubbleTimestamp?: any;
43-
scBubbleActionBar?: any;
42+
scBubbleTimestamp?: JSX.Element;
43+
scBubbleActionBar?: JSX.Element;
4444
forExport?: boolean;
4545
maxImageHeight?: number;
4646
replacingEventId?: string;

src/events/EventTileFactory.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ export interface EventTileTypeProps {
5757
userNameColorMode?: UserNameColorMode;
5858
youtubeEmbedPlayer?: boolean;
5959
scBubble?: boolean;
60-
scBubbleActionBar?: any;
61-
scBubbleTimestamp?: any;
60+
scBubbleActionBar?: JSX.Element;
61+
scBubbleTimestamp?: JSX.Element;
6262
onHeightChanged: () => void;
6363
forExport?: boolean;
6464
getRelationsForEvent?: GetRelationsForEvent;

0 commit comments

Comments
 (0)