vee-validate icon indicating copy to clipboard operation
vee-validate copied to clipboard

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'.

Open ldsenow opened this issue 1 year ago • 1 comments

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

  1. Use TS 5.6.2
  2. Build the vue portal that uses vee-validate
  3. 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.

115 function __VLS_template() {

Demo link

n/a

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ldsenow avatar Oct 03 '24 02:10 ldsenow