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

245
Vistas
Self created npm extension is throwing declaration file module error

I have created my own REACT JSX application and wanted to publish it on npm.

Before that, I used npm link and tried tested in my local machine

Installation is successful. But, While Importing like

import App from 'moduleName';

it is throwing,

Could not find a declaration file for module 'moduleName'. 'E:/learning/react/testing-app/node_modules/modulename/src/index.js' implicitly has an 'any' type.

On research, I found the need to add a .d.ts file. But my app is not built using TypeScript.

Please help

about 4 years ago · Juan Pablo Isaza
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