2024-10-15 23:05:53 +03:00

7 lines
166 B
TypeScript

/**
* Returns the actively focused element safely.
*
* @param doc the document to check
*/
export default function activeElement(doc?: Document): Element | null;