Fix TS types

This commit is contained in:
Dariusz Niemczyk 2021-08-03 13:24:41 +02:00
parent ae411b9401
commit 36efa448b2
No known key found for this signature in database
GPG key ID: 28DFE7164F497CB6
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;
} }