diff --git a/typings/index.d.ts b/typings/index.d.ts index 528dcd0f4..bf94eb0e0 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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. */ diff --git a/typings/index.test-d.ts b/typings/index.test-d.ts index 1edd5de2d..eecccd93c 100644 --- a/typings/index.test-d.ts +++ b/typings/index.test-d.ts @@ -617,9 +617,6 @@ expectType(baseOption.preset('abc')); // env expectType(baseOption.env('PORT')); -// fullDescription -expectType(baseOption.fullDescription()); - // argParser expectType( baseOption.argParser((value: string) => parseInt(value)),