mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 14:44:47 +12:00
543d61737e
* feat: add support for `using` keyword on client * fix: use async dispose * feat: add support for web socket manager disposing * fix: use interface for client --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
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", "esnext.disposable"],
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true
|
|
},
|
|
"exclude": ["node_modules"]
|
|
}
|