File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import type {
1212 BaseCommandList ,
1313 CommandWithOptions ,
1414 TypedCommandOptionsResolver ,
15- NeverResolver ,
15+ TypedCommandOptionsNeverResolver ,
1616 PickBaseCommandByName ,
1717 ExtractCommandSubcommands ,
1818 ExtractCommandBasicOptions ,
@@ -25,7 +25,7 @@ export declare class TypedCommandOptions<
2525> extends ChatInputCommandInteraction < CacheType > {
2626 public commandName : T [ 'name' ] ;
2727 public options : CommandHasSubcommands < CommandWithOptions < T > [ 'options' ] > extends true
28- ? NeverResolver < ExtractCommandBasicOptions < CommandWithOptions < T > [ 'options' ] > >
28+ ? TypedCommandOptionsNeverResolver < ExtractCommandBasicOptions < CommandWithOptions < T > [ 'options' ] > >
2929 : TypedCommandOptionsResolver < ExtractCommandBasicOptions < CommandWithOptions < T > [ 'options' ] > > ;
3030}
3131
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export interface TypedCommandOptionsResolver<T extends CommandOptionBasicData> e
9797 get < K extends T [ 'name' ] > ( name : K , required ?: boolean ) : CommandDataMapper < PickCommandOptionByName < T , K > > ;
9898}
9999
100- export interface NeverResolver < T extends CommandOptionBasicData > extends Omit < CommandInteractionOptionResolver < CacheType > , 'getMessage' | 'getFocused' > {
100+ export interface TypedCommandOptionsNeverResolver < T extends CommandOptionBasicData > extends Omit < CommandInteractionOptionResolver < CacheType > , 'getMessage' | 'getFocused' > {
101101 // eslint-disable-next-line @typescript-eslint/no-unused-vars
102102 get < K extends T [ 'name' ] > ( name : never ) : CommandInteractionOption < CacheType > ;
103103 // eslint-disable-next-line @typescript-eslint/no-unused-vars
You can’t perform that action at this time.
0 commit comments