Files
cyh-tk-backend/tsconfig.json
zhxiao1124 f2b1043cbc refactor: 统一代码缩进与引号风格,新增CORS配置
1.  修正所有文件的缩进为4空格,将单引号统一改为双引号
2.  新增CORS_ORIGIN环境变量配置并从env读取CORS允许源
3.  新增prettier配置文件统一代码格式
4.  为main.ts添加启动日志输出
2026-07-02 16:03:42 +08:00

20 lines
520 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2023",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"strict": true,
"skipLibCheck": true,
"strictPropertyInitialization": false,
"noImplicitAny": false
}
}