discord.js/tsconfig.json

51 lines
1.3 KiB
JSON
Raw Normal View History

2018-08-14 13:51:41 +12:00
{
2023-08-22 11:33:47 +12:00
"$schema": "https://json.schemastore.org/tsconfig.json",
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,
2023-08-28 06:24:03 +12:00
"noPropertyAccessFromIndexSignature": false,
"noUncheckedIndexedAccess": true,
2022-01-08 05:18:25 +13:00
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
2021-10-28 13:01:19 +13:00
2022-01-08 05:18:25 +13:00
// Modules
2023-08-28 06:24:03 +12:00
"allowArbitraryExtensions": false,
"allowImportingTsExtensions": false,
2022-07-21 02:36:42 +12:00
"module": "ESNext",
2023-08-28 06:24:03 +12:00
"moduleResolution": "Bundler",
2022-01-08 05:18:25 +13:00
"resolveJsonModule": true,
2023-08-28 06:24:03 +12:00
"resolvePackageJsonExports": true,
"resolvePackageJsonImports": 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,
2023-08-28 06:24:03 +12:00
"importHelpers": false,
2022-01-08 05:18:25 +13:00
"newLine": "lf",
"noEmitHelpers": true,
"outDir": "dist",
"removeComments": false,
"sourceMap": true,
2023-08-28 06:24:03 +12:00
// Interop Constraints
"allowSyntheticDefaultImports": true,
"esModuleInterop": false,
2022-01-08 05:18:25 +13:00
"forceConsistentCasingInFileNames": true,
2023-08-28 06:24:03 +12:00
"isolatedModules": true,
2021-10-28 13:01:19 +13:00
2022-01-08 05:18:25 +13:00
// Language and Environment
"experimentalDecorators": true,
"lib": ["ESNext", "esnext.disposable"],
"target": "ESNext",
"useDefineForClassFields": true
2023-11-09 12:13:01 +13:00
},
"exclude": ["node_modules"]
2018-08-14 13:54:36 +12:00
}