You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Another fix to the TS types
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user