tsconfig.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "compilerOptions": {
  3. /* Visit https://aka.ms/tsconfig.json to read more about this file */
  4. /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
  5. "target": "es2024",
  6. /* Specify a set of bundled library declaration files that describe the target runtime environment. */
  7. "lib": ["es2024"],
  8. /* Specify what JSX code is generated. */
  9. "jsx": "react-jsx",
  10. /* Specify what module code is generated. */
  11. "module": "es2022",
  12. /* Specify how TypeScript looks up a file from a given module specifier. */
  13. "moduleResolution": "node",
  14. /* Enable importing .json files */
  15. "resolveJsonModule": true,
  16. /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
  17. "allowJs": true,
  18. /* Enable error reporting in type-checked JavaScript files. */
  19. "checkJs": false,
  20. /* Disable emitting files from a compilation. */
  21. "noEmit": true,
  22. /* Ensure that each file can be safely transpiled without relying on other imports. */
  23. "isolatedModules": true,
  24. /* Allow 'import x from y' when a module doesn't have a default export. */
  25. "allowSyntheticDefaultImports": true,
  26. /* Ensure that casing is correct in imports. */
  27. "forceConsistentCasingInFileNames": true,
  28. /* Enable all strict type-checking options. */
  29. "strict": true,
  30. /* Skip type checking all .d.ts files. */
  31. "skipLibCheck": true,
  32. "types": [
  33. "./worker-configuration.d.ts",
  34. "node"
  35. ]
  36. }
  37. }