tsconfig.json (TypeScript)
初级 配置文件
TypeScript 编译器配置,包含严格模式和现代模块设置。 一个真实、可直接使用的示例,你可以复制、调整,或用来测试自己的代码。
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"noUncheckedIndexedAccess": true,
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
} - typescript
- tsconfig
- compiler