tsconfig.json 638 B

1234567891011121314151617181920
  1. {
  2. "extends": "@tsconfig/svelte/tsconfig.json",
  3. "compilerOptions": {
  4. "target": "ESNext",
  5. "useDefineForClassFields": true,
  6. "module": "ESNext",
  7. "resolveJsonModule": true,
  8. /**
  9. * Typecheck JS in `.svelte` and `.js` files by default.
  10. * Disable checkJs if you'd like to use dynamic types in JS.
  11. * Note that setting allowJs false does not prevent the use
  12. * of JS in `.svelte` files.
  13. */
  14. "allowJs": true,
  15. "checkJs": true,
  16. "isolatedModules": true
  17. },
  18. "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"],
  19. "references": [{ "path": "./tsconfig.node.json" }]
  20. }