Type Alias: BasicActionElementDataSetType
ts
type BasicActionElementDataSetType = Omit<CamelCasedProperties<Record<Replace<ValueOf<typeof BasicActionElementDataAttributesNames>, "data-", "">, string>>, "tdOptions">;The attributes of BasicActionElementDataAttributesNames (except data-td-options) as HTMLElement.dataset keys of type string.
Remarks
dataset converts the attribute names to camel case without the data- prefix, i.e. data-td-action becomes tdAction. At runtime every key may be missing (undefined) even though the type doesn't say so.