-
I'm building a library with custom endpoint factories to use in multiple projects.
then there is a
How to avoid this error and what is its cause? |
Beta Was this translation helpful? Give feedback.
Answered by
RobinTail
Apr 20, 2023
Replies: 1 comment 11 replies
-
You can get rid of this error by disabling It's caused by the fact that the type ZodFileDef is not exported by |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
RobinTail
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can get rid of this error by disabling
declaration
in your tsconfig, @McMerphIt's caused by the fact that the type ZodFileDef is not exported by
express-zod-api
, but your code is configured for generating.d.ts
files, which in some way somehow need it in order to describe your entities.