Skip to content

Commit

Permalink
Tweak TS config
Browse files Browse the repository at this point in the history
  • Loading branch information
Destiner committed Mar 18, 2024
1 parent 56176a5 commit 22d670c
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",

"allowSyntheticDefaultImports": true,
"declaration": true,
/* Base */
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"target": "ES2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
"forceConsistentCasingInFileNames": true,
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": false,
"noUncheckedIndexedAccess": false,
"resolveJsonModule": true,
"skipLibCheck": true,
/* Transpile */
"moduleResolution": "NodeNext",
"module": "NodeNext",
"outDir": "dist",
"sourceMap": true,
"strict": true,
"useDefineForClassFields": true,

"outDir": "./lib",
/* Building for a library */
"declaration": true,
/* General environment */
"lib": ["ES2022"],
/* Imports */
"baseUrl": "src",
"paths": {
"@/*": ["*"]
Expand Down

0 comments on commit 22d670c

Please sign in to comment.