Permissive datum shape — accepts any record-like object where the dataKey resolves to a number or undefined. SessionDataRow (which carries an index signature) satisfies this, as do ad-hoc objects in tests / storybook.
dataKey
SessionDataRow
Permissive datum shape — accepts any record-like object where the
dataKeyresolves to a number or undefined.SessionDataRow(which carries an index signature) satisfies this, as do ad-hoc objects in tests / storybook.