You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, I hope it's the good place to fill issue about the dev-branch development.
I noticed, after installation of the dev branch/tag (npm i discord.js@dev), that the package (index.d.ts) has some problems.
It seems that <const T syntax is incorrect. Because of that, the package is broken for a lot of part. For example: TS2339: Property getString does not exist on type CommandInteractionOptionResolver<CacheType>
If I "local" edit the package with removing the const part, the plugin work as excepted.
Which package is this bug report for?
discord.js
Issue description
First, I hope it's the good place to fill issue about the dev-branch development.
I noticed, after installation of the dev branch/tag (
npm i discord.js@dev
), that the package (index.d.ts
) has some problems.It seems that
<const T
syntax is incorrect. Because of that, the package is broken for a lot of part. For example:TS2339: Property getString does not exist on type CommandInteractionOptionResolver<CacheType>
If I "local" edit the package with removing the
const
part, the plugin work as excepted.Code sample
No response
Versions
Issue priority
Medium (should be fixed soon)
Which partials do you have configured?
User, Channel, GuildMember
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildMessages, MessageContent
I have tested this issue on a development release
09b0382.0
The text was updated successfully, but these errors were encountered: