This commit is contained in:
2025-11-27 18:22:26 +08:00
commit 90eb1970e1
12 changed files with 767 additions and 0 deletions

45
tsconfig.json Normal file
View File

@@ -0,0 +1,45 @@
{
"compilerOptions": {
/* */
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
/* */
"exactOptionalPropertyTypes": false,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"noUncheckedIndexedAccess": true,
/* */
"outDir": "./dist",
"rootDir": "./src",
"sourceMap": true,
/* Bun & ESM */
"lib": ["ES2022", "DOM"],
"types": ["bun-types", "@types/node"],
/* */
// "baseUrl": "./src",
// "paths": {
// "@/*": ["./*"]
// }
},
"include": [
"src/**/*",
"*.ts"
],
"exclude": [
"node_modules",
"dist",
"coverage"
]
}