mirror of https://github.com/vector-im/riot-web
Another fix to the TS types
parent
36efa448b2
commit
29e9db44a3
|
@ -57,7 +57,7 @@ interface IProps {
|
|||
pipMode?: boolean;
|
||||
|
||||
// Used for dragging the PiP CallView
|
||||
onMouseDownOnHeader?: (event: MouseEvent) => void;
|
||||
onMouseDownOnHeader?: (event: React.MouseEvent<Element, MouseEvent>) => void;
|
||||
}
|
||||
|
||||
interface IState {
|
||||
|
|
|
@ -35,7 +35,7 @@ const PADDING = {
|
|||
|
||||
interface IProps {
|
||||
className?: string;
|
||||
children: (startMovingEventHandler: (event: MouseEvent) => void) => React.ReactNode;
|
||||
children: (startMovingEventHandler: (event: React.MouseEvent<Element, MouseEvent>) => void) => React.ReactNode;
|
||||
draggable: boolean;
|
||||
app?: IApp;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue