Type errors being thrown from `nuxt-content`

I'm not sure if this is nuxt-content related or not. It could be nuxt and/or vue, since both got a version bump. during nuxi typecheck I get these errors:
node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH6.vue:4:13 - error TS2339: Property 'id' does not exist on type 'CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, { generate: typeof generate; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 17 more ..., {}>'.

4 v-if="id && generate"
node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH6.vue:4:13 - error TS2339: Property 'id' does not exist on type 'CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, { generate: typeof generate; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 17 more ..., {}>'.

4 v-if="id && generate"
Looking at the source code for that file here: https://github.com/nuxt-modules/mdc/blob/main/src/runtime/components/prose/ProseH6.vue its pertty straight foward. I'm thinking is prop access like that not supported anymore?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server