(element)
| 331 | const attrs = [name]; |
| 332 | /** @type {function(Element):T|''|null} */ |
| 333 | const parseAttrs = (element) => { |
| 334 | const attr = element.getAttribute(name); |
| 335 | return attr && parse(attr); |
| 336 | }; |
| 337 | return { |
| 338 | 'attrs': attrs, |
| 339 | 'parseAttrs': parseAttrs, |
nothing calls this directly
no test coverage detected