Fix types

This commit is contained in:
Adria Navarro 2024-12-27 20:26:42 +01:00
parent 01548da3c9
commit 6034d8ec42
2 changed files with 2 additions and 1 deletions

View File

@ -190,6 +190,7 @@ export const initialise = (context: StoreContext) => {
related: fieldSchema.related,
calculationType: fieldSchema.calculationType,
__left: undefined as any, // TODO
__idx: undefined as any, // TODO
}
// Override a few properties for primary display
if (field === primaryDisplay) {

View File

@ -16,7 +16,7 @@ export type UIColumn = FieldSchema & {
autocolumn: boolean
}
calculationType: CalculationType
__idx?: number
__idx: number
__left: number
width: number
}