mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 13:34:43 +12:00
42 lines
1 KiB
JSON
42 lines
1 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,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strict": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
|
|
// Modules
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
|
|
// Emit
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"importHelpers": true,
|
|
"inlineSources": true,
|
|
"newLine": "lf",
|
|
"noEmitHelpers": true,
|
|
"outDir": "dist",
|
|
"removeComments": false,
|
|
"sourceMap": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
// Language and Environment
|
|
"experimentalDecorators": true,
|
|
"lib": ["ESNext"],
|
|
"target": "ES2021",
|
|
"useDefineForClassFields": true
|
|
}
|
|
}
|