Skip to content

Commit f072fb7

Browse files
committed
fix: narrow commandContext type
1 parent 524e708 commit f072fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/structures/Argument.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export interface ArgumentContext<T = unknown> extends Record<PropertyKey, unknow
137137
args: Args;
138138
messageOrInteraction: Message | AnyInteraction;
139139
command: MessageCommand | ChatInputCommand;
140-
commandContext: Record<PropertyKey, unknown>;
140+
commandContext: MessageCommand.RunContext & ChatInputCommand.RunContext;
141141
minimum?: number;
142142
maximum?: number;
143143
inclusive?: boolean;

0 commit comments

Comments
 (0)