import { FactoryType } from '../Constants'; import { TNoSpread, TWithId } from '../../Mixins'; import { TCreateEntityFactoryFn } from './TCreateEntityFactoryFn'; export type TFactory | undefined, S extends Record | undefined = undefined, F extends Record | undefined = undefined> = Readonly<{ create: TCreateEntityFactoryFn; type: FactoryType | string; }> & TWithId & TNoSpread;