Files
totly-rela-discord/tsconfig.json
2026-01-11 03:50:03 +01:00

38 lines
925 B
JSON

{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false,
"paths": {
"@components/*": ["./src/components/*"],
"@localtypes": ["./src/types/index.ts"],
"@ws": ["./src/ws/index.ts"]
}
},
}