Closed JstnMcBrd closed 3 months ago
TypeScript 5.5 throws errors when type-checking discord.js
.
This appears to be an undocumented breaking change with the recent update - TypeScript 5.4 works fine. Turning on skipLibCheck
is a valid workaround until discord.js fixes their types.
Added
exactOptionalPropertyTypes
to tsconfigisolatedModules
to tsconfigskipLibCheck
to tsconfig as a workaround for discord.js type-checking issueChanged
vscode-eslint
flat config support to be stableprocess.exit
to be directly imported like other dependenciesgetSlashName()
functionexactOptionalPropertyTypes
Reflect.set
to useObject.assign
insteadRemoved
noFallthroughCasesInSwitch
from tsconfig (handled better by eslint)