Skip to content

Commit 07c5f91

Browse files
committed
fix: fix handler input
1 parent 6f4c800 commit 07c5f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export type CommandObjectInput = Omit<Command, 'options' | 'handler'> & {
4545
export type CommandObjectInObjectInput = Omit<CommandObjectInput, 'name'> &
4646
Partial<Pick<CommandObjectInput, 'name'>>;
4747

48-
export type CommandInObjectInput = CommandObjectInObjectInput | Handler;
48+
export type CommandInObjectInput = CommandObjectInObjectInput | HandlerInput;
4949

5050
export type CommandsInput =
5151
| CommandObjectInput[]

0 commit comments

Comments
 (0)