Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
How to resolve typescript TS7031 error on v-slot vuejes?

I'm using Vue.js 3 with Typescript and vee-validate and I have an error during building project.

semantic error TS7031: Binding element 'field' implicitly has an 'any' type.

This is because I use v-slot with vee validate values in the Field vee-validate component.

  <Field
    name="fieldDate"
    :label="libelle"
    :rules="`formatDateValide:${formatDate}|dateBetween:${formatDate},${dateMin},${dateMax}`"
    v-slot="{field, meta}"
  >

How can I define the types of this valuee or how can I deactivate this error ? Thanks.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can just add this conf to your tsconfig.json file :

"noImplicitAny": false
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!