Convert WidgetUtils to TS and improve typing
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c8b99b54e0
commit
2e6bad8b07
2 changed files with 46 additions and 30 deletions
|
@ -31,11 +31,16 @@ interface IState {}
|
|||
|
||||
export interface IApp {
|
||||
id: string;
|
||||
url: string;
|
||||
type: string;
|
||||
name: string;
|
||||
roomId: string;
|
||||
eventId: string;
|
||||
creatorUserId: string;
|
||||
waitForIframeLoad?: boolean;
|
||||
data?: {
|
||||
title?: string;
|
||||
};
|
||||
// eslint-disable-next-line camelcase
|
||||
avatar_url: string; // MSC2765 https://github.com/matrix-org/matrix-doc/pull/2765
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue