Skip to content

Commit

Permalink
Use unknown not any
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Oct 13, 2023
1 parent 14575fd commit c540e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ export class CommanderError extends Error {
// The source is a string so author can define their own too.
export type OptionValueSource = LiteralUnion<'default' | 'config' | 'env' | 'cli' | 'implied', string> | undefined;

export type OptionValues = Record<string, any>;
export type OptionValues = Record<string, unknown>;

export class Command<Args extends any[] = [], Opts extends OptionValues = {}> {
args: string[];
Expand Down

0 comments on commit c540e91

Please sign in to comment.