-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
tsconfig.json
47 lines (45 loc) · 1.71 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
{
"$schema": "http://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": false,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": false,
// https://stackoverflow.com/questions/53113031/how-to-see-a-fully-expanded-typescript-type-without-n-more-and
// "noErrorTruncation": true,
"incremental": true,
"noImplicitAny": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"strictFunctionTypes": true,
"forceConsistentCasingInFileNames": true,
"strictNullChecks": true,
"noUncheckedIndexedAccess": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
// "baseUrl": ".",
"typeRoots": ["src/typings"],
"types": [],
"paths": {
// overrides
"nsfwjs": ["./src/typings/nsfwjs.d.ts"],
// emptied
"typescript": ["./src/typings/empty-types.d.ts"],
"webgl2": ["./src/typings/empty-types.d.ts"],
"@tensorflow/tfjs": ["./src/typings/empty-types.d.ts"],
"@types/webgl": ["./src/typings/empty-types.d.ts"],
"@types/webgl-ext": ["./src/typings/empty-types.d.ts"],
"@use-gesture/react": ["./src/typings/empty-types.d.ts"]
},
// -------------// -------------
/* specific to base */ "tsBuildInfoFile": ".tsbuildinfo",
/* specific to base */ "noEmit": true
},
"include": ["src", "schema/global.d.ts", "library"],
"exclude": []
}