(element: Element, attributeName: string)
| 71 | ]); |
| 72 | |
| 73 | function getAttribute(element: Element, attributeName: string): string | null { |
| 74 | return element.getAttribute(attributeName.toLowerCase()); |
| 75 | } |
| 76 | |
| 77 | function getProperty(element: Element, propertyName: string): unknown { |
| 78 | return (element as unknown as Record<string, unknown>)[propertyName]; |
no test coverage detected