Skip to content

Commit

Permalink
fix: type of ctx.editedMessage (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf committed May 9, 2024
1 parent d67db0a commit 979fc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ type FilteredContextCore<U extends Update> =
// must be in sync with shortcut impl!
interface Shortcuts<U extends Update> {
message: [U["message"]] extends [object] ? U["message"] : undefined;
edited_message: [U["edited_message"]] extends [object] ? U["edited_message"]
editedMessage: [U["edited_message"]] extends [object] ? U["edited_message"]
: undefined;
channelPost: [U["channel_post"]] extends [object] ? U["channel_post"]
: undefined;
Expand Down

0 comments on commit 979fc11

Please sign in to comment.