1
0
Fork 0
BangleApps/tsconfig.json

53 lines
1.2 KiB
JSON
Raw Normal View History

{
"compilerOptions": {
2023-01-15 22:58:55 +00:00
// input/output
"target": "es5",
"noLib": true, // "lib": ["es5"],
"skipLibCheck": false,
"module": "commonjs",
2023-01-15 22:58:55 +00:00
// code-gen
"declaration": false,
"emitDeclarationOnly": false,
"removeComments": true,
"newLine": "lf",
"noEmitHelpers": true, // we link to specific banglejs implementations
"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
"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/"]
},
2023-01-15 22:58:55 +00:00
"include": [
"*/*/*.ts",
"*/*/*.d.ts",
"modules/*.d.ts",
"typescript/types/*.d.ts"
]
}