Getting this weird TS error after upgrading to 5.6.2 The inferred type of '__VLS_template' cannot be named without a reference to 'vee-validate/node_modules/type-fest/source/partial-deep'. #4879
After the upgrade of TS to 5.6.2, start getting this weird error.
The inferred type of '__VLS_template' cannot be named without a reference to 'vee-validate/node_modules/type-fest/source/partial-deep'.
No clue how to fix it.
Reproduction steps
Use TS 5.6.2
Build the vue portal that uses vee-validate
Exploded then
...
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
[x] Firefox
[x] Chrome
[ ] Safari
[ ] Microsoft Edge
Relevant log output
error TS2742: The inferred type of '__VLS_template' cannot be named without a reference to 'vee-validate/node_modules/type-fest/source/partial-deep'. This is likely not portable. A type annotation is necessary.
What happened?
After the upgrade of TS to 5.6.2, start getting this weird error.
The inferred type of '__VLS_template' cannot be named without a reference to 'vee-validate/node_modules/type-fest/source/partial-deep'.
No clue how to fix it.
Reproduction steps
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
error TS2742: The inferred type of '__VLS_template' cannot be named without a reference to 'vee-validate/node_modules/type-fest/source/partial-deep'. This is likely not portable. A type annotation is necessary.
115 function __VLS_template() {
Demo link
n/a
Code of Conduct