Open airtonix opened 1 month ago
I am currently on vacation. I'll take a look at it next week.
I am currently on vacation. I'll take a look at it next week.
All good, no one expects you to deal with these issues straight away 👍🏻 (or even ever).
We have a workaround for now, so not a high priority
@airtonix i can't reproduce it. Which version of typescript do you use? And can you post your tsconfig?
Following the quickstart for mdx here https://www.content-collections.dev/docs/content/mdx
results in this:
But if i workaround it with a asserted type predicate then it's satisfied.
Did I miss something?
I still get the error if I describe a
content: z.string()
in the schema:I imagine something is going awry here :