mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 15:34:44 +12:00
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig.json",
|
|
// Mapped from https://www.typescriptlang.org/tsconfig
|
|
"compilerOptions": {
|
|
// Type Checking
|
|
"allowUnreachableCode": false,
|
|
"allowUnusedLabels": false,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strict": true,
|
|
|
|
// Modules
|
|
"allowArbitraryExtensions": false,
|
|
"allowImportingTsExtensions": false,
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"resolveJsonModule": true,
|
|
"resolvePackageJsonExports": true,
|
|
"resolvePackageJsonImports": true,
|
|
|
|
// Emit
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"importHelpers": false,
|
|
"newLine": "lf",
|
|
"noEmitHelpers": true,
|
|
"outDir": "dist",
|
|
"removeComments": false,
|
|
"sourceMap": true,
|
|
|
|
// Interop Constraints
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
|
|
// Language and Environment
|
|
"experimentalDecorators": true,
|
|
"lib": ["ESNext"],
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true
|
|
},
|
|
"exclude": ["node_modules"]
|
|
}
|