Files
igny8/frontend/node_modules/react-dnd-html5-backend/dist/EnterLeaveCounter.d.ts
2025-11-09 10:27:02 +00:00

11 lines
354 B
TypeScript

declare type NodePredicate = (node: Node | null | undefined) => boolean;
export declare class EnterLeaveCounter {
private entered;
private isNodeInDocument;
constructor(isNodeInDocument: NodePredicate);
enter(enteringNode: EventTarget | null): boolean;
leave(leavingNode: EventTarget | null): boolean;
reset(): void;
}
export {};