Typescript is complaining though: > TS2322: Typ...
# orm-help
s
Typescript is complaining though:
TS2322: Type '{ year: string; make: string; model: string; sub_model: string; }' is not assignable to type 'PickArray<FitmentGroupByOutputType, FitmentScalarFieldEnum[]> & { _count: true | { id?: number | undefined; ... 26 more ...; _all?: number | undefined; } | undefined; _avg: { ...; } | undefined; _sum: { ...; } | undefined; _min: { ...; } | undefined; _max: { ...; } | undefined; }'. Type '{ year: string; make: string; model: string; sub_model: string; }' is missing the following properties from type 'PickArray<FitmentGroupByOutputType, FitmentScalarFieldEnum[]>': id, created, modified, available, and 19 more.