mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 01:54:45 +12:00
41 lines
983 B
JSON
41 lines
983 B
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
|
|
}
|
|
}
|