generated from kalidao/kplate-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
32 lines (32 loc) · 1.49 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"compilerOptions": {
"target": "ESNext", // Target the latest JavaScript features
"lib": ["DOM", "DOM.Iterable", "ESNext"], // Leverage modern libraries
"skipLibCheck": true, // Skip checking all type definitions for better performance
"strict": true, // Enable all strict type-checking options
"forceConsistentCasingInFileNames": true, // Ensure consistent casing in imports
"noEmit": true, // Disable emitting files from the TypeScript compiler
"esModuleInterop": true, // Enable interoperability between CommonJS and ES Modules
"module": "ESNext", // Use the latest module system
"moduleResolution": "Node", // Use Node's module resolution
"resolveJsonModule": true, // Allow importing JSON modules
"isolatedModules": true, // Ensure each file can be safely transpiled
"jsx": "preserve", // Preserve JSX for further processing by Next.js
"incremental": true, // Enable incremental builds for faster recompilation
"baseUrl": ".", // Set the base URL for module resolution
"paths": {
"@/*": ["./*"]
},
"strictNullChecks": true, // Enable strict null checks
"useDefineForClassFields": true, // Align class field behavior with modern JavaScript
"skipDefaultLibCheck": true, // Skip type checking for default libraries only
"plugins": [
{
"name": "next"
}
],
"allowJs": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next.config.ks", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}