Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

117
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda