Type mismatch issue after upgrading TypeScript from 4.1.5 to 4.2.4 #99
Unanswered
thakkaryash94
asked this question in
Q&A
Replies: 1 comment 4 replies
-
@MichalLytek Please help. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, thank you so much for this amazing library. I need little help. Till TS version 4.1.5, everything is working as expected but as soon as I update TS version to 4.2.4 and compile the code, I am getting few mismatch types errors as below. So it will be a huge help if anyone can help me.
Package Versions:
dependencies:
@prisma/client: "^2.20.1"
devDependencies:
prisma: "2.20.1"
typegraphql-prisma: "0.13.0"
typescript: "4.2.4"
After compiling, I am getting the below errors.
Error Type 1:
Error Type 2:
Error Type 3:
The difference is as below.
From Prisma Type
From TypeGraphQL-Prisma Type:
Beta Was this translation helpful? Give feedback.
All reactions