Change loosened type to string * {}

This commit is contained in:
Eric Liu 2024-05-04 14:44:56 -07:00
commit bd6f52cbae
4 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@
* @typedef {import('./DataTableTypes.d.ts').PropertyPath<Row>} DataTableKey<Row=DataTableRow>
* @typedef {any} DataTableValue
* @typedef {{
* key: DataTableKey<Row> | string;
* key: DataTableKey<Row> | (string & {});
* empty: boolean;
* display?: (item: Value, row: Row) => DataTableValue;
* sort?: false | ((a: DataTableValue, b: DataTableValue) => number);