Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,6 @@ export class Option {
*/
env(name: string): this;

/**
* Calculate the full description, including defaultValue etc.
*/
fullDescription(): string;

/**
* Set the custom handler for processing CLI option arguments into option values.
*/
Expand Down
3 changes: 0 additions & 3 deletions typings/index.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,9 +617,6 @@ expectType<commander.Option>(baseOption.preset('abc'));
// env
expectType<commander.Option>(baseOption.env('PORT'));

// fullDescription
expectType<string>(baseOption.fullDescription());

// argParser
expectType<commander.Option>(
baseOption.argParser((value: string) => parseInt(value)),
Expand Down