Closed SomeAspy closed 11 months ago
i also use TSX and this warning only seems to have popped up today when i updated to discord.js from v14.11 to v14.13
builded js file a same errors
this does not happen to me anymore in tsx 3.12.8
This appears to be fixed- Thanks guys!
Which package is this bug report for?
discord.js
Issue description
When using TSX as opposed to building with TSC or running with TS-Node, TSX renames the Collection class to
_Collection
which triggers the UnsupportedCacheOverwriteWarning warning.This is reproducible by running TS code with TSX
Code sample
Versions
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
9ed1b59df