-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
73 lines (73 loc) · 2.04 KB
/
tsconfig.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"$schema": "http://json.schemastore.org/tsconfig",
"compileOnSave": false,
// /Users/USER/Library/Caches/typescript/
"typeAcquisition": {
"enable": false
},
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"declaration": true,
"allowJs": true,
"checkJs": true,
"strict": true,
"strictNullChecks": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "nodenext",
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"esModuleInterop": false,
"importsNotUsedAsValues": "error",
"preserveValueImports": false,
"sourceMap": true,
"noImplicitAny": true,
"noImplicitThis": true,
"alwaysStrict": true,
"strictFunctionTypes": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": false,
"noUnusedParameters": true,
"noImplicitUseStrict": false,
"noEmit": false,
"noEmitHelpers": true,
"noEmitOnError": true,
"importHelpers": true,
"downlevelIteration": true,
"noErrorTruncation": true,
"noLib": false,
"noResolve": false,
"forceConsistentCasingInFileNames": true,
"inlineSources": true,
"inlineSourceMap": false,
"preserveConstEnums": true,
"isolatedModules": true,
"maxNodeModuleJsDepth": 0,
"stripInternal": false,
"suppressExcessPropertyErrors": false,
"suppressImplicitAnyIndexErrors": false,
"charset": "utf8",
"emitBOM": false,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"pretty": true,
"diagnostics": false,
"listFiles": false,
"listEmittedFiles": false,
"traceResolution": false,
"disableSizeLimit": false,
"removeComments": true,
"experimentalDecorators": false,
"emitDecoratorMetadata": false
}
// :(
// package.json @types fail if not specified in export map as well as root
// ... works fine with ESM / MJS files,
// but breaks the TS compiler in VSCode (language service)
// as soon as a CJS file is opened (even if no imports at all!)
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck
// @ts-expect-error TS7016
// "exclude": ["./**/*.cjs"]
}