mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
types(structures): add return type for methods (#341)
This commit is contained in:
@@ -116,5 +116,5 @@ export interface Channel {
|
||||
// METHODS
|
||||
|
||||
/** Send a message to the channel. Requires SEND_MESSAGES permission. */
|
||||
send(content: string | MessageContent): Promise<Message>;
|
||||
send(content: string | MessageContent): ReturnType<typeof sendMessage>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user