sagar lama
08/05/2022, 8:28 AMjest.spyOn(prismaService.authProvider, 'groupBy').mockResolvedValue([]);
Error
Type of property 'AND' circularly references itself in mapped type '{ [K in keyof { AND?: Enumerable<AuthProviderScalarWhereWithAggregatesInput>; OR?: Enumerable<AuthProviderScalarWhereWithAggregatesInput>; ... 4 more ...; userId?: number | IntWithAggregatesFilter; }]: Or<...> extends 1 ? { ...; }[K] extends infer TK ? GetHavingFields<...> : never : {} extends FieldPaths<...> ? neve...'.ts(2615)
How do I solve this?Raphael Etim
08/05/2022, 8:37 AMstrictNullChecks: true
as per the docs?sagar lama
08/05/2022, 9:39 AM