1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Fix TS types

This commit is contained in:
Dariusz Niemczyk
2021-08-03 13:24:41 +02:00
parent ae411b9401
commit 36efa448b2
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ interface IProps {
pipMode?: boolean; pipMode?: boolean;
// Used for dragging the PiP CallView // Used for dragging the PiP CallView
onMouseDownOnHeader?: (event: React.MouseEvent<Element, MouseEvent>) => void; onMouseDownOnHeader?: (event: MouseEvent) => void;
} }
interface IState { interface IState {

View File

@@ -35,7 +35,7 @@ const PADDING = {
interface IProps { interface IProps {
className?: string; className?: string;
children: (event: MouseEvent<Element, MouseEvent>) => React.ReactNode; children: (startMovingEventHandler: (event: MouseEvent) => void) => React.ReactNode;
draggable: boolean; draggable: boolean;
app?: IApp; app?: IApp;
} }