Closed SturdyCat closed 3 years ago
Argument of type '{ cursor?: { id?: string | null | undefined; name?: string | null | undefined; } | null | undefined; orderBy?: ({ createdAt?: "asc" | "desc" | null | undefined; id?: "asc" | "desc" | null | undefined; ... 4 more ...; updatedAt?: "asc" | ... 2 more ... | undefined; } | null)[] | null | undefined; skip?: number | ... ...' is not assignable to parameter of type 'Subset<FindFirstUserArgs, FindFirstUserArgs>'. Types of property 'where' are incompatible. Type '{ AND?: ...[] | null | undefined; createdAt?: { equals?: any; gt?: any; gte?: any; in?: any[] | null | undefined; lt?: any; lte?: any; not?: { equals?: any; gt?: any; gte?: any; in?: any[] | null | undefined; lt?: any; lte?: any; not?: ... | ... 1 more ... | undefined; notIn?: any[] | ... 1 more ... | undefined; } |...' is not assignable to type 'UserWhereInput | undefined'. Type 'null' is not assignable to type 'UserWhereInput | undefined'.ts(2345)
Thank you for your pull put we will use as any
as any
Fix typescript error