Interface DOMStringMap

Used by the dataset HTML attribute to represent data for custom attributes added to elements.

MDN Reference

interface DOMStringMap {
    [name: string]: string | undefined;
}

Indexable

[name: string]: string | undefined