Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated client/index.d.ts file has type errors #75

Closed
suerta-git opened this issue May 17, 2023 · 3 comments
Closed

Generated client/index.d.ts file has type errors #75

suerta-git opened this issue May 17, 2023 · 3 comments

Comments

@suerta-git
Copy link

Tested on prisma 4.10.1 and 4.11.0 with prisma-json-types-generator 2.4.0.

There are type errors like:

Namespace '".../prisma/client/index".Prisma' has no exported member 'StringNullableFilter'

'".../prisma/client/index".Prisma' has no exported member named 'StringNullableWithAggregatesFilter'. Did you mean 'StringWithAggregatesFilter'?

and so on.

Can you have a look at this?

@arthurfiorette
Copy link
Owner

@suerta-git please, provide more information on how i can reproduce this behavior.

@suerta-git
Copy link
Author

@arthurfiorette Sure, here is a demo you can check out: https://github.com/suerta-git/reproduce-json-types-error

arthurfiorette added a commit that referenced this issue Jun 20, 2023
@arthurfiorette
Copy link
Owner

Hey @suerta-git, thanks for your time doing the reproduction steps. Its now fixed at v2.5.0!
Feel free to reopen this PR in case of any future bugs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants