You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable typeCheck: true in any nuxt project with vue-tsc
Description
When enabling type checking, errors are reported in console. I have to disable typeCheck for this to pass a build.
ERROR
ERROR(vue-tsc) Cannot find module '@nuxtjs/mdc' or its corresponding type declarations.
There are types at 'C:/Dev/engage-web/node_modules/@nuxtjs/mdc/dist/module.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.
FILE C:/Dev/engage-web/node_modules/@nuxt/content/dist/runtime/components/ContentRenderer.vue:4:63
2 | import { kebabCase, pascalCase } from 'scule'
3 | import { resolveComponent, toRaw, defineAsyncComponent, computed } from 'vue'
> 4 | import type { MDCComment, MDCElement, MDCRoot, MDCText } from '@nuxtjs/mdc'
| ^^^^^^^^^^^^^
5 | import htmlTags from '@nuxtjs/mdc/runtime/parser/utils/html-tags-list'
6 | import MDCRenderer from '@nuxtjs/mdc/runtime/components/MDCRenderer.vue'
7 | import { decompressTree } from '../internal/abstract-tree'
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered:
Environment
Version
v3.0.0-alpha.7
Reproduction
Enable
typeCheck: true
in any nuxt project withvue-tsc
Description
When enabling type checking, errors are reported in console. I have to disable typeCheck for this to pass a build.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: