sacred-roseS
Refine4mo ago
3 replies
sacred-rose

filter.field is not on type 'CrudFilter' or 'ConditionalFilter'

const { tableProps, filters, sorters } = useTable<UserRecord>

const createdAtFilter = filters?.find((filter) => filter.field === 'createdAt')?.value

the TS type says filter.field does not exist, but it exists and it works... why?
Was this page helpful?