-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtsconfig.release.base.json
50 lines (44 loc) · 1.6 KB
/
tsconfig.release.base.json
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"compilerOptions": {
/* Language and Environment */
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"jsx": "preserve",
"lib": ["esnext", "dom"],
"target": "ES2015",
/* Modules */
// baseUrl is intentionally wrong to prevent typescript from recommending the
// wrong imports in the "Quick fix..." window. For example, if baseUrl is set to "."
// imports to other packages on the monorepo will have the quick fix pointing to the
// "packages" folder instead of recommending the package name. For example if you want
// to add the 'postTracking' import from @farfetch/blackout-client in a module
// in our redux package. If baseUrl is set here to "." it will suggest adding the import
// like this "import { postTracking } from 'packages/client'" instead of suggesting
// "import { postTracking } from '@farfetch/blackout-client'".
"baseUrl": "./dummy",
"module": "NodeNext",
"moduleResolution": "nodenext",
"resolveJsonModule": true,
"typeRoots": ["node_modules/@types", "types"],
/* Interop Constraints */
"esModuleInterop": true,
/* Projects */
"composite": true,
/* Emit */
"declarationMap": false,
"importHelpers": true,
"verbatimModuleSyntax": true,
"noEmitOnError": true,
"sourceMap": false,
"stripInternal": true,
"emitDeclarationOnly": true,
/* Completeness */
"skipLibCheck": true,
/* Type checking */
"noImplicitOverride": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"strict": true
}
}