Skip to content

Type error when integrate with existing content collection. #1283

Closed Answered by jcyuan
jcyuan asked this question in Q&A
Discussion options

You must be logged in to vote

problem found:

set "strict": true, in your tsconfig.json although not sure why this causes the error (maybe type infering error). (i actually prefer strict: true, not sure why it was false 😅)

thanks for help @fuma-nama

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jcyuan
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jcyuan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants