-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
35 lines (35 loc) · 1.45 KB
/
tsconfig.base.json
File metadata and controls
35 lines (35 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
// The @nx/js:library generator doesn't allow ANY keys other than
// compilerOptions here if you want it to use the new project references/workspaces setup
// @see node_modules/@nx/js/src/utils/typescript/ts-solution-setup.js#isWorkspaceSetupWithTsSolution
"compilerOptions": {
"composite": true, // Required by Nx to use the new project references/workspaces setup
"declaration": true, // Required by Nx to use the new project references/workspaces setup
"declarationMap": true,
"emitDeclarationOnly": true,
"experimentalDecorators": true, // Required by ESBuild to bundle property decorators
"importHelpers": true,
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "bundler",
"noUncheckedSideEffectImports": true,
"types": ["node", "vitest", "vitest/globals"],
"strictNullChecks": true,
// Aligent defaults from ts-code-standards
"lib": ["ESNext"],
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"isolatedModules": true,
"checkJs": true,
"esModuleInterop": true,
"skipLibCheck": true
}
}