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

191
Views
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 answers
Answer question

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 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!