loosen up that type

pull/1090/head
Cory LaViska 2022-12-20 13:00:13 -05:00
rodzic f3010cecbe
commit 5bff912162
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3,7 +3,7 @@ import { sendMouse } from '@web/test-runner-commands';
/** A testing utility that measures an element's position and clicks on it. */
export async function clickOnElement(
/** The element to click */
el: HTMLElement,
el: Element,
/** The location of the element to click */
position: 'top' | 'right' | 'bottom' | 'left' | 'center' = 'center',
/** The horizontal offset to apply to the position when clicking */