Lot of "XXX declared but its value is not used" when generating client #230
-
hi everyone, when running Have more than 3K errors as I have introspected an existing schema. So I can not fixed this issue manually for any generation of the client. How do you manage this issue? Is there a specific config in your TSCONFIG.JSON ? I have manage warning in ESLINT by adding some rules, but what about TSC? THls, I'm a great fan of type-graphql that I used to use together with typeorm my TSCONFIG.JSON
the schema.prisma file
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Have you tried |
Beta Was this translation helpful? Give feedback.
-
yes better, have also set worth to mention that these 4 tables "Articles_fonctions, "Articles_magasin", are M-N Tables for relationships..
|
Beta Was this translation helpful? Give feedback.
Have you tried
"noUnusedLocals": false
?