Files
lcbp3/frontend/tsconfig.json
T
admin a0f77ad121
CI / CD Pipeline / build (push) Successful in 5m20s
CI / CD Pipeline / deploy (push) Successful in 6m42s
690607:2321 ADR-035-135 #07
2026-06-07 23:21:55 +07:00

41 lines
1.1 KiB
JSON

// File: tsconfig.json
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"baseUrl": "./",
"paths": {
"@/*": ["./*"],
"@components": ["components/*"],
"@config": ["config/*"],
"@lib": ["lib/*"],
"@providers": ["providers/*"],
"@public": ["public/*"],
"@styles": ["styles/*"],
"@types": ["types/*"],
"@api": ["app/api/*"],
// เพิ่มส่วนที่ขาดไปเพื่อให้ตรงกับ Workspace
"@hooks/*": ["hooks/*"],
"@utils/*": ["utils/*"]
},
"target": "ES2017"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
"exclude": ["node_modules", "**/*.test.ts", "**/*.spec.ts", "**/__tests__"]
}