Reproduction for vuejs/language-tools#4209
- See branch
main
for working invue-tsc@2.0.7
and oldervolar
- See branch
2.1.0
for erroring invue-tsc@2.1.0
and newervolar
Run npm run test
in each branch to see the issue.
In main
, no errors occur.
In 2.1.0
, the following error occurs:
src/example.vue:27:35 - error TS18047: '__VLS_ctx.example.foo.bar' is possibly 'null'.