fix build

This commit is contained in:
andrewwallacespeckle
2025-09-12 12:55:33 +01:00
parent 578286a855
commit 4f938cc4ab
2 changed files with 2 additions and 2 deletions
@@ -275,7 +275,7 @@ export function useFilterUtilities(
const isBooleanPropertyInfo = (
prop: PropertyInfo | BooleanPropertyInfo
): prop is BooleanPropertyInfo => {
return 'type' in prop && (prop as BooleanPropertyInfo).type === 'boolean'
return prop.type === 'boolean'
}
const createFilterData = (params: CreateFilterParams): FilterData => {
@@ -77,7 +77,7 @@ export type StringFilterData = BaseFilterData & {
isDefaultAllSelected?: boolean
}
export type BooleanPropertyInfo = PropertyInfo & {
export type BooleanPropertyInfo = Omit<PropertyInfo, 'type'> & {
type: 'boolean'
valueGroups: { value: boolean; ids: string[] }[]
}