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
I have enabled strictTemplates in my tsconfig, in order to get type errors when I use props/components that do no exist. After adding MDC to my project, this rule no longer works, so I don't get type errors when using non existing props.
Reproduction
I've made a repo with the bug. I'm using @vue-expect-error on a line that should give an error:
gh repo clone MikeBellika/mdc-strict-templates-repro &&
cd mdc-strict-templates-repro &&
pnpm i &&
npx nuxi typecheck .
I have enabled
strictTemplates
in my tsconfig, in order to get type errors when I use props/components that do no exist. After adding MDC to my project, this rule no longer works, so I don't get type errors when using non existing props.Reproduction
I've made a repo with the bug. I'm using
@vue-expect-error
on a line that should give an error:I've also made a branch without MDC, where the line gives an error: https://github.com/MikeBellika/mdc-strict-templates-repro/tree/no-mdc
The text was updated successfully, but these errors were encountered: