mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-20 16:00:38 +02:00
Include runtime types, otherwise ts goes crazy
This commit is contained in:
@@ -30,7 +30,7 @@ export function useOutsideClick<T extends HTMLElement>(
|
||||
return;
|
||||
}
|
||||
|
||||
const isInsideOverride = isInside?.(_event, ref.current);
|
||||
const isInsideOverride = isInside?.(_event as any, ref.current);
|
||||
|
||||
if (isInsideOverride === true) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user