2021-12-08 19:22:39 +00:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2023-01-15 22:58:55 +00:00
|
|
|
// input/output
|
|
|
|
"target": "es5",
|
|
|
|
"noLib": true, // "lib": ["es5"],
|
|
|
|
"skipLibCheck": false,
|
|
|
|
|
2022-01-20 20:23:17 +00:00
|
|
|
"module": "commonjs",
|
2023-01-15 22:58:55 +00:00
|
|
|
|
|
|
|
// code-gen
|
|
|
|
"declaration": false,
|
|
|
|
"emitDeclarationOnly": false,
|
|
|
|
"removeComments": true,
|
|
|
|
|
|
|
|
"newLine": "lf",
|
2023-01-20 22:29:15 +00:00
|
|
|
"noEmitHelpers": false,
|
|
|
|
"noEmitOnError": false,
|
2023-01-15 22:58:55 +00:00
|
|
|
"preserveConstEnums": false,
|
|
|
|
"importsNotUsedAsValues": "error",
|
|
|
|
"preserveValueImports": false,
|
|
|
|
|
|
|
|
// interop constraints
|
|
|
|
"isolatedModules": false, // we're global scripts
|
|
|
|
|
|
|
|
// type checking
|
2021-12-08 19:22:39 +00:00
|
|
|
"noImplicitAny": true,
|
2021-12-10 20:36:42 +00:00
|
|
|
"noUncheckedIndexedAccess": true,
|
2023-01-15 22:58:55 +00:00
|
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
|
|
"noImplicitThis": true,
|
|
|
|
"noImplicitReturns": true,
|
|
|
|
"noImplicitOverride": true,
|
|
|
|
"exactOptionalPropertyTypes": true,
|
|
|
|
"useUnknownInCatchVariables": true,
|
|
|
|
"strict": true,
|
|
|
|
|
|
|
|
// simple type checking
|
2021-12-10 20:36:42 +00:00
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
2023-01-15 22:58:55 +00:00
|
|
|
"allowUnusedLabels": false,
|
|
|
|
"allowUnreachableCode": false,
|
|
|
|
|
|
|
|
// paths
|
|
|
|
"rootDir": "./",
|
|
|
|
"typeRoots": ["./typescript/types/"]
|
2021-12-10 20:19:01 +00:00
|
|
|
},
|
2023-01-15 22:58:55 +00:00
|
|
|
"include": [
|
|
|
|
"*/*/*.ts",
|
|
|
|
"*/*/*.d.ts",
|
|
|
|
"modules/*.d.ts",
|
|
|
|
"typescript/types/*.d.ts"
|
|
|
|
]
|
2021-12-08 19:22:39 +00:00
|
|
|
}
|