fix: add cellClass to ColumnDef typedef for svelte-check
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ba34be616a
commit
8278bdbbf2
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@
|
|||
|
||||
/**
|
||||
* @typedef {'text' | 'email' | 'number' | 'date' | 'select' | 'checkbox' | 'relation'} ColumnType
|
||||
* @typedef {{ key: string, label: string, type?: ColumnType, width?: string, editable?: boolean, canHide?: boolean, getValue?: (row: any) => any, emptyText?: string, relationIcon?: string, options?: any[], format?: (value: any) => string }} ColumnDef
|
||||
* @typedef {{ key: string, label: string, type?: ColumnType, width?: string, editable?: boolean, canHide?: boolean, getValue?: (row: any) => any, emptyText?: string, relationIcon?: string, options?: any[], format?: (value: any) => string, cellClass?: (row: any) => string }} ColumnDef
|
||||
*/
|
||||
|
||||
/** @type {ColumnDef[]} */
|
||||
|
|
|
|||
Loading…
Reference in a new issue