types: remove expect error (#8242)

This commit is contained in:
Parbez
2022-07-17 22:23:40 +05:30
committed by GitHub
parent 1a6ddbbe7b
commit 7e6dbaaed9
3 changed files with 16 additions and 7 deletions

View File

@@ -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",

View File

@@ -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;