Skip to content

Commit

Permalink
Weakly type getOptionValueSourceWithto include globals
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Oct 27, 2024
1 parent ae744ba commit 40f902d
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 @@ -1089,7 +1089,7 @@ export class Command<
/**
* Get source of option value. See also .optsWithGlobals().
*/
getOptionValueSourceWithGlobals<K extends keyof Opts>(
getOptionValueSourceWithGlobals<K extends keyof (Opts & GlobalOpts)>(
key: K,
): OptionValueSource | undefined;
getOptionValueSourceWithGlobals(key: string): OptionValueSource | undefined;
Expand Down

0 comments on commit 40f902d

Please sign in to comment.