⚙️ Add TypeScript configuration

 Features:
- ES2022 target for modern JavaScript features
- ES Modules configuration
- Strict type checking enabled
- Source maps and declarations
- Professional build configuration

🏆 Production-ready TypeScript setup
This commit is contained in:
Anyrxo
2025-07-04 22:01:11 +10:00
parent 2e1caa5896
commit 8cb8dc0c9d

21
tsconfig.json Normal file
View File

@@ -0,0 +1,21 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "Node",
"lib": ["ES2022"],
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "**/*.test.ts"]
}