-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
[FIX] A Collection defined with defineCollection
causes a type error when included in defineConfig
's collections
.
#205
Comments
@wontory I'm having the same issue. How did you resolve it? Thanks. |
I'm using monorepo, and I do use turbo, but I do not use the default tsconfig. I do have the I don't understand why it'd be causing the problem by itself? Can you please explain the reason you believe this causes the problem. I think that optionjust tells tsc to create |
@moltar |
defineCollection
causes a type error when included in defineConfig
's collections
.defineCollection
causes a type error when included in defineConfig
's collections
.
If there are no Collections inside the
collections
ofdefineConfig
, no error occurs.However, if Collections are added, an error occurs.
This is my full source code of
velite.config.ts
.And this code was written with reference to the
velite.config.ts
from Velite's taxonomy.The text was updated successfully, but these errors were encountered: