Files
lcbp3/frontend/tsconfig.json
T
admin 11984bfa29
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s
260322:1648 Correct Coresspondence / Doing RFA / Correct CI
2026-03-22 16:48:12 +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/*": ["app/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__"]
}