mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
Change loosened type to string * {}
This commit is contained in:
parent
7b464408a9
commit
bd6f52cbae
4 changed files with 5 additions and 5 deletions
2
types/DataTable/DataTable.svelte.d.ts
vendored
2
types/DataTable/DataTable.svelte.d.ts
vendored
|
@ -7,7 +7,7 @@ export type DataTableKey<Row = DataTableRow> =
|
|||
export type DataTableValue = any;
|
||||
|
||||
export interface DataTableEmptyHeader<Row = DataTableRow> {
|
||||
key: DataTableKey<Row> | string;
|
||||
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