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

116
Views
React-web-Vector-icons types issue for typescript

#34 I have installed this library in typescript to generate an error of types

TS7016: Could not find a declaration file for module 'react-web-vector-icons'. '/Users/apple/Documents/GitHub/ProjectAliance/node_modules/react-web-vector-icons/dist/index.js' implicitly has an 'any' type. Try npm i --save-dev @types/react-web-vector-icons if it exists or add a new declaration (.d.ts) file containing declare module 'react-web-vector-icons';

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

0

I have add file of #.d.ts and have following code it help me to solve types problem create a new file types.d.ts

declare module 'react-web-vector-icons' {

export default function Icon({name,size,color,font}:icon):any;
}
 

interface icon {
name: string,
size: number,
color: string,
font:string,
}

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!