Files
xget/tsconfig.json
T
xixu-me 9b5db30455 Update tsconfig for module resolution and types
Changed moduleResolution from 'bundler' to 'node', added global types for Cloudflare Workers and Vitest, and simplified the include paths. This improves compatibility with Node.js tooling and test environments.
2025-12-08 20:01:57 +08:00

17 lines
445 B
JSON

{
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "node",
"noEmit": true,
"skipLibCheck": true,
"strict": true,
"target": "ES2022",
"types": ["@cloudflare/workers-types", "vitest/globals"]
},
"exclude": ["node_modules", "dist", "coverage"],
"include": ["src/**/*", "test/**/*"]
}