import type { Item } from './Item'; export type RecursivePartial = { [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial[] : T[P] extends object | undefined ? RecursivePartial : T[P]; }; /** * Interface for properties that can be added to items */ export interface Propertied { name: string; value: number; } /** * Type for item properties without the key - equivalent to Partial without the key */ export type ItemProperties = Partial, 'key'>>; /** * Type for item properties without the key - equivalent to Partial without the key * This is an alias for ItemProperties for backward compatibility */ export type TypesProperties = Partial, 'key'>>;