mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
types: remove expect error (#8242)
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
},
|
||||
"homepage": "https://discord.js.org",
|
||||
"dependencies": {
|
||||
"@sapphire/shapeshift": "^3.4.1",
|
||||
"@sapphire/shapeshift": "^3.5.1",
|
||||
"discord-api-types": "^0.36.1",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"ts-mixer": "^6.0.1",
|
||||
|
||||
@@ -30,7 +30,6 @@ export class ApplicationCommandOptionChannelTypesMixin {
|
||||
Reflect.set(this, 'channel_types', []);
|
||||
}
|
||||
|
||||
// @ts-expect-error: Shapeshift TODO
|
||||
this.channel_types!.push(...channelTypesPredicate.parse(channelTypes));
|
||||
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user