Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

201
Visualizações
Could not find a declaration file for module '@editorjs/image'

I am using editorjs in my project and there are no typescript files in my project. Could not find a declaration file for module '@editorjs/image'. 'node_modules/@editorjs/image/dist/bundle.js' implicitly has an 'any' type. Try npm i --save-dev @types/editorjs__image if it exists or add a new declaration (.d.ts) file containing declare module '@editorjs/image';ts(7016) No quick fixes are available. The typescript package is not available and when I am creating .d.ts file in the project declare module "@editorjs/image" but it is not referring to the editorjs/image package for the usage.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The problem is that the .d.ts file you've created in the project should also be listed as a part of your project in your tsconfig.json:

  "include": [
    "**/*.ts",
    "**/*.tsx",
    "global.d.ts" // << specify your file here
  ],
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda