mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-08 00:26:16 +00:00
fix: Update error message for HTTP 400 checks to English refactor: Improve logging for network idle wait timeout in Workers fix: Initialize lastError in Axios client to prevent undefined errors chore: Update tsconfig to include path mappings for better module resolution
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Visit https://aka.ms/tsconfig.json to read more about this file */
|
|
|
|
/* Basic Options */
|
|
"target": "ES2020",
|
|
"module": "commonjs",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
|
|
/* Strict Type-Checking Options */
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"noImplicitThis": true,
|
|
"alwaysStrict": true,
|
|
|
|
/* Additional Checks */
|
|
"noUnusedLocals": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "node",
|
|
"baseUrl": "./src",
|
|
"paths": {
|
|
"@constants": ["constants"],
|
|
"@interfaces/*": ["interface/*"],
|
|
"@utils/*": ["util/*"],
|
|
"@browser/*": ["browser/*"],
|
|
"@functions/*": ["functions/*"],
|
|
"@flows/*": ["flows/*"]
|
|
},
|
|
"types": ["node"],
|
|
"esModuleInterop": true,
|
|
|
|
/* Advanced Options */
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/functions/queries.json"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
} |