3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 18:25:03 +00:00

chore: remove unneeded type annotation

This commit is contained in:
Dragory 2023-04-01 14:01:52 +03:00
parent caff6280e0
commit d42ac8544f
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -113,8 +113,7 @@ export const commandTypes = {
}, },
guildTextBasedChannel(value: string, context: CommandContext<any>) { guildTextBasedChannel(value: string, context: CommandContext<any>) {
// FIXME: Remove once Knub's types have been fixed return messageCommandBaseTypeConverters.textChannel(value, context);
return messageCommandBaseTypeConverters.textChannel(value, context) as GuildTextBasedChannel;
}, },
}; };