TaggableElement
Either an HTMLElement or an SVGElement.
type TaggableElement = HTMLElement | SVGElement;
Why not simply Element?
Elements are too broad and include things like comment blocks that don't support dataset attributes. Type Guards, like isTaggableElement, are designed to filter out anything that doesn't support Tagging Attributes.