Skip to content

Commit

Permalink
Fix return in Message#crosspost typings (abalabahaha#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC authored Mar 24, 2021
1 parent 148a578 commit 81e09cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2048,7 +2048,7 @@ declare namespace Eris {
addReaction(reaction: string): Promise<void>;
/** @deprecated */
addReaction(reaction: string, userID: string): Promise<void>;
crosspost(): T extends NewsChannel ? Promise<Message<NewsChannel>> : never;
crosspost(): Promise<T extends NewsChannel ? Message<NewsChannel> : never>;
delete(reason?: string): Promise<void>;
edit(content: MessageContent): Promise<Message<T>>;
editWebhook(token: string, options: MessageWebhookContent): Promise<Message<T>>;
Expand Down

0 comments on commit 81e09cc

Please sign in to comment.