(id: string)
| 29 | query: string, |
| 30 | ): HTMLElement => element.querySelector(query) as HTMLElement; |
| 31 | export const queryById = (id: string): HTMLElement => |
| 32 | doc.getElementById(id) as HTMLElement; |
| 33 | |
| 34 | export const createElement = ( |
| 35 | tagName: string, |