Dataset: Record<string, DatasetValue | null | undefined>

Valid key/value pair representing dataset attributes/properties (prior to stringifying). The key should be a valid DatasetKey and the value must be a valid DatasetValue. Some of the values may be null or undefined.

Note that the HTMLElement.dataset property is a DOMStringMap.