Skip to content

Commit 89e1027

Browse files
Update tests/focus.spec.tsx
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 1d70aff commit 89e1027

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/focus.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jest.mock('@rc-component/util/lib/Dom/focus', () => {
1111
const useLockFocus = (visible: boolean, ...rest: any[]) => {
1212
globalThis.__useLockFocusVisible = visible;
1313
const hooks = actual.useLockFocus(visible, ...rest);
14-
const proxyIgnoreElement = (ele) => {
14+
const proxyIgnoreElement = (ele: HTMLElement) => {
1515
globalThis.__ignoredElement = ele;
1616
hooks[0](ele);
1717
};

0 commit comments

Comments
 (0)