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

192
Visualizações
How do I fix this random bug in svelte

Every time I try to run the application it gives me this error enter image description here

It's also always on the first import type line no matter what it is or if I switch them all to normal imports then it would be on the first line of the class with the same message just pointing at a different line.

I've used this guide from svelte.dev to make the project

npx degit sveltejs/template svelte-typescript-app
cd svelte-typescript-app
node scripts/setupTypeScript.js

Edit: Everything works fine if I don't use that exact file

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

0

I think you need to import it like

import type { SidebarInfo } from "../static/sidebar"

// Sidebar.ts
export type SidebarInfo = {}
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