mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
Loosen empty table row header key
This commit is contained in:
parent
ed3a3956fb
commit
df1d40257d
4 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
* @typedef {import('./DataTableTypes.d.ts').PropertyPath<Row>} DataTableKey<Row=DataTableRow>
|
||||
* @typedef {any} DataTableValue
|
||||
* @typedef {{
|
||||
* key: DataTableKey<Row>;
|
||||
* key: DataTableKey<Row> | string;
|
||||
* empty: boolean;
|
||||
* display?: (item: Value, row: Row) => DataTableValue;
|
||||
* sort?: false | ((a: DataTableValue, b: DataTableValue) => number);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue