Skip to content

Commit

Permalink
TextableChannel extends Textable now; build against eris 0.17.1 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
eritbh authored Oct 21, 2022
1 parent 6b96dde commit 2e54db8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/Command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export interface CommandContext extends EventContext {
}

/** The function to be called when a command is executed. */
// @ts-expect-error In Eris 0.16, TextableChannel is not assignable to Textable
// See https://github.com/abalabahaha/eris/pull/1299
export interface CommandProcess<T extends Eris.Textable = Eris.TextableChannel> {
(
Expand Down

0 comments on commit 2e54db8

Please sign in to comment.