Files
lcbp3/frontend/tsconfig.json
admin 2b8e63a7b0
Some checks failed
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled
251206:1400 version 1.5.1
2025-12-06 14:42:32 +07:00

75 lines
1.3 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"
]
}