Skip to content

Commit d3b48f7

Browse files
authored
Remove unimplemented fullDescription from TypeScript (#2191)
1 parent c749eb8 commit d3b48f7

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

typings/index.d.ts

-5
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,6 @@ export class Option {
163163
*/
164164
env(name: string): this;
165165

166-
/**
167-
* Calculate the full description, including defaultValue etc.
168-
*/
169-
fullDescription(): string;
170-
171166
/**
172167
* Set the custom handler for processing CLI option arguments into option values.
173168
*/

typings/index.test-d.ts

-3
Original file line numberDiff line numberDiff line change
@@ -617,9 +617,6 @@ expectType<commander.Option>(baseOption.preset('abc'));
617617
// env
618618
expectType<commander.Option>(baseOption.env('PORT'));
619619

620-
// fullDescription
621-
expectType<string>(baseOption.fullDescription());
622-
623620
// argParser
624621
expectType<commander.Option>(
625622
baseOption.argParser((value: string) => parseInt(value)),

0 commit comments

Comments
 (0)