4 changed files with 32 additions and 48 deletions
			
			
		| @ -1,48 +1,35 @@ | |||||
| { | { | ||||
|     "compilerOptions": { | 	"compilerOptions": { | ||||
| 		"allowJs": true, | 		"target": "ES2020", // Latest ECMAScript features that are widely supported by modern browsers | ||||
| 		"resolveJsonModule": true, | 		"module": "ESNext", // Use ES modules | ||||
| 		"target": "ES2020", | 		"strict": true, // Enable all strict type checking options | ||||
| 		"module": "ESNext", | 		"jsx": "preserve", // Preserves JSX to be transformed by Babel or another transpiler | ||||
| 		"strict": true, | 		"moduleResolution": "node", // Use Node.js style module resolution | ||||
| 		"strictPropertyInitialization": false, |  | ||||
| 		"jsx": "preserve", |  | ||||
| 		"moduleResolution": "bundler", |  | ||||
| 		"experimentalDecorators": true, | 		"experimentalDecorators": true, | ||||
| 		"skipLibCheck": true, | 		"esModuleInterop": true, // Enables compatibility with CommonJS modules for default imports | ||||
| 		"esModuleInterop": true, | 		"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export | ||||
| 		"allowSyntheticDefaultImports": true, | 		"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file | ||||
| 		"forceConsistentCasingInFileNames": true, |  | ||||
| 		"useDefineForClassFields": true, | 		"useDefineForClassFields": true, | ||||
| 		"sourceMap": true, | 		"sourceMap": true, | ||||
| 		"baseUrl": "./src", | 		"baseUrl": "./src", // Base directory to resolve non-relative module names | ||||
| 		"types": [ |  | ||||
| 			"node" |  | ||||
| 		], |  | ||||
| 		"paths": { | 		"paths": { | ||||
| 			"@/components/*": ["components/*"], | 			"@/components/*": ["components/*"], | ||||
| 			"@/views/*": ["views/*"], | 			"@/views/*": ["views/*"], | ||||
| 			"@/db/*": ["db/*"], | 			"@/db/*": ["db/*"], | ||||
| 			"@/libs/*": ["libs/*"], | 			"@/libs/*": ["libs/*"], | ||||
| 			"@/constants/*": ["constants/*"], | 			"@/constants/*": ["constants/*"], | ||||
| 			"@/store/*": ["store/*"], | 			"@/store/*": ["store/*"] | ||||
| 		}, | 		}, | ||||
| 		"lib": [ | 		"lib": ["ES2020", "dom", "dom.iterable"], // Include typings for ES2020 and DOM APIs | ||||
| 			"esnext", | 	}, | ||||
| 			"es2020", | 	"include": [ | ||||
| 			"dom", |  | ||||
| 			"dom.iterable", |  | ||||
| 			"scripthost" |  | ||||
| 		] |  | ||||
|     }, |  | ||||
|     "include": [ |  | ||||
| 		"src/**/*.ts", | 		"src/**/*.ts", | ||||
| 		"src/**/*.tsx", | 		"src/**/*.tsx", | ||||
| 		"src/**/*.vue", | 		"src/**/*.vue", | ||||
| 		"tests/**/*.ts", | 		"tests/**/*.ts", | ||||
| 		"tests/**/*.tsx" | 		"tests/**/*.tsx" | ||||
|     ], | 	], | ||||
|     "exclude": [ | 	"exclude": [ | ||||
| 		"node_modules" | 		"node_modules" | ||||
|     ] | 	] | ||||
| } | } | ||||
|  | |||||
					Loading…
					
					
				
		Reference in new issue