Improve typing

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-20 12:16:17 +02:00
parent 93ab4dc787
commit 48949af961
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D
3 changed files with 18 additions and 17 deletions

View file

@ -21,9 +21,10 @@ import * as sdk from "../../../index";
import { _t } from '../../../languageHandler';
import { replaceableComponent } from "../../../utils/replaceableComponent";
import { mediaFromMxc } from "../../../customisations/Media";
import { IUserAddress } from '../../../UserAddress';
interface IProps {
address; // FIXME: UserAddressType should be an interface
address: IUserAddress;
canDismiss?: boolean;
onDismissed?: () => void;
justified?: boolean;