jsconfig.json 968 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "compilerOptions": {
  3. "moduleResolution": "bundler",
  4. "target": "ESNext",
  5. "module": "ESNext",
  6. /**
  7. * svelte-preprocess cannot figure out whether you have
  8. * a value or a type, so tell TypeScript to enforce using
  9. * `import type` instead of `import` for Types.
  10. */
  11. "verbatimModuleSyntax": true,
  12. "isolatedModules": true,
  13. "resolveJsonModule": true,
  14. /**
  15. * To have warnings / errors of the Svelte compiler at the
  16. * correct position, enable source maps by default.
  17. */
  18. "sourceMap": true,
  19. "esModuleInterop": true,
  20. "types": ["vite/client"],
  21. "skipLibCheck": true,
  22. /**
  23. * Typecheck JS in `.svelte` and `.js` files by default.
  24. * Disable this if you'd like to use dynamic types.
  25. */
  26. "checkJs": true
  27. },
  28. /**
  29. * Use global.d.ts instead of compilerOptions.types
  30. * to avoid limiting type declarations.
  31. */
  32. "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
  33. }