discord.js/tsconfig.json

42 lines
983 B
JSON
Raw Normal View History

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,
"noUncheckedIndexedAccess": true,
2021-10-28 13:01:19 +13:00
2022-01-08 05:18:25 +13:00
// Modules
2022-07-21 02:36:42 +12:00
"module": "ESNext",
"moduleResolution": "bundler",
2022-01-08 05:18:25 +13:00
"resolveJsonModule": true,
2021-10-28 13:01:19 +13:00
2022-01-08 05:18:25 +13:00
// Emit
"declaration": true,
2022-07-21 02:36:42 +12:00
"declarationMap": true,
2022-01-08 05:18:25 +13:00
"importHelpers": true,
"inlineSources": true,
"newLine": "lf",
"noEmitHelpers": true,
"outDir": "dist",
"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
"experimentalDecorators": true,
"lib": ["ESNext"],
2022-01-08 09:03:00 +13:00
"target": "ES2021",
"useDefineForClassFields": true
2022-01-08 05:18:25 +13:00
}
2018-08-14 13:54:36 +12:00
}