( element: HTMLElement, query: string, )
| 25 | export const query = (query: string): HTMLElement => |
| 26 | doc.querySelector(query) as HTMLElement; |
| 27 | export const queryElement = ( |
| 28 | element: HTMLElement, |
| 29 | query: string, |
| 30 | ): HTMLElement => element.querySelector(query) as HTMLElement; |
| 31 | export const queryById = (id: string): HTMLElement => |
| 32 | doc.getElementById(id) as HTMLElement; |
| 33 |
no outgoing calls
no test coverage detected
searching dependent graphs…