jsconfig.json 938 B

1234567891011121314151617181920212223242526272829303132
  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. "skipLibCheck": true,
  21. /**
  22. * Typecheck JS in `.svelte` and `.js` files by default.
  23. * Disable this if you'd like to use dynamic types.
  24. */
  25. "checkJs": true
  26. },
  27. /**
  28. * Use global.d.ts instead of compilerOptions.types
  29. * to avoid limiting type declarations.
  30. */
  31. "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
  32. }