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

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