This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 859
Class 'Prisma' incorrectly extends base class 'Prisma'. #2002
Labels
bug/0-needs-info
More information is needed for reproduction.
Comments
How can I reproduce this? |
Sorry man. I'll try to have an isolated repro today |
Thanks! 😄 |
I got the same error and made an example repository: SpaceK33z/prisma-typescript-error. A workaround for now is to disable |
This seems to have something to do with a change in |
Thank you all, I reported the issue here: graphql-binding/graphql-static-binding#69. |
odd, strictFunctionTypes: false doesn't seem to mask this issue for me. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Report
Current behavior
After trying to compile typescript, I get the following error:
Reproduction
You can reproduce this issue by deploying a Prisma API and visiting
generated/prisma.ts
. The issue is found near the bottom. IE:When hovering over
query
, due to red underline, this is the error notice:More on repro later
Expected behavior?
Types should play nicely again. We're all friends. Let's all just be friendly.
The text was updated successfully, but these errors were encountered: