2018-08-14 13:51:41 +12:00
|
|
|
{
|
2022-01-08 05:18:25 +13:00
|
|
|
// Mapped from https://www.typescriptlang.org/tsconfig
|
|
|
|
"compilerOptions": {
|
|
|
|
// Type Checking
|
|
|
|
"allowUnreachableCode": false,
|
|
|
|
"allowUnusedLabels": false,
|
2022-06-19 23:19:24 +12:00
|
|
|
"exactOptionalPropertyTypes": true,
|
2022-01-08 05:18:25 +13:00
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"noImplicitOverride": true,
|
|
|
|
"noImplicitReturns": true,
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"strict": true,
|
|
|
|
"useUnknownInCatchVariables": true,
|
2022-05-19 05:56:42 +12:00
|
|
|
"noUncheckedIndexedAccess": true,
|
2021-10-28 13:01:19 +13:00
|
|
|
|
2022-01-08 05:18:25 +13:00
|
|
|
// Modules
|
|
|
|
"module": "CommonJS",
|
|
|
|
"moduleResolution": "node",
|
|
|
|
"resolveJsonModule": true,
|
2021-10-28 13:01:19 +13:00
|
|
|
|
2022-01-08 05:18:25 +13:00
|
|
|
// Emit
|
|
|
|
"declaration": true,
|
|
|
|
"importHelpers": true,
|
|
|
|
"importsNotUsedAsValues": "error",
|
|
|
|
"inlineSources": true,
|
|
|
|
"newLine": "lf",
|
|
|
|
"noEmitHelpers": true,
|
|
|
|
"outDir": "dist",
|
|
|
|
"preserveConstEnums": true,
|
|
|
|
"removeComments": false,
|
|
|
|
"sourceMap": true,
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
2021-10-28 13:01:19 +13:00
|
|
|
|
2022-01-08 05:18:25 +13:00
|
|
|
// Language and Environment
|
|
|
|
"emitDecoratorMetadata": true,
|
|
|
|
"experimentalDecorators": true,
|
|
|
|
"lib": ["ESNext"],
|
2022-01-08 09:03:00 +13:00
|
|
|
"target": "ES2021",
|
2022-01-10 03:14:29 +13:00
|
|
|
"useDefineForClassFields": true
|
2022-01-08 05:18:25 +13:00
|
|
|
}
|
2018-08-14 13:54:36 +12:00
|
|
|
}
|