mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 07:34:42 +12:00
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
// Mapped from https://www.typescriptlang.org/tsconfig
|
|
"compilerOptions": {
|
|
// Type Checking
|
|
"allowUnreachableCode": false,
|
|
"allowUnusedLabels": false,
|
|
// if true: conflicts with discord-api-types
|
|
"exactOptionalPropertyTypes": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strict": true,
|
|
"useUnknownInCatchVariables": true,
|
|
|
|
// Modules
|
|
"module": "CommonJS",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
|
|
// Emit
|
|
"declaration": false,
|
|
"importHelpers": true,
|
|
"inlineSources": false,
|
|
"newLine": "lf",
|
|
"noEmitHelpers": true,
|
|
"outDir": "dist",
|
|
"preserveConstEnums": true,
|
|
"removeComments": false,
|
|
"sourceMap": false,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
// Language and Environment
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"lib": ["ESNext"],
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
|
|
// Output Formatting
|
|
"pretty": false,
|
|
|
|
// Completeness
|
|
"skipLibCheck": false,
|
|
"skipDefaultLibCheck": true
|
|
}
|
|
}
|