Update clipboard values to any

This commit is contained in:
Adria Navarro 2024-12-30 22:21:23 +01:00
parent 296d5dfb55
commit cab40c8da1
2 changed files with 4 additions and 4 deletions

View File

@ -6,11 +6,11 @@ import { Store as StoreContext } from "."
type ClipboardStoreData =
| {
value: string[][]
value: any[][]
multiCellCopy: true
}
| {
value: string | null | undefined
value: any | null | undefined
multiCellCopy: false
}

View File

@ -13,8 +13,8 @@ export interface UIStore {
focusedCellId: Writable<string | null>
focusedCellAPI: Writable<{
isReadonly: () => boolean
getValue: () => string
setValue: (val: string | null) => void
getValue: () => any
setValue: (val: any) => void
} | null>
selectedRows: Writable<Record<string, boolean>>
hoveredRowId: Writable<string | null>