From 524d10a0ad6e92b2b632c23d704c03f3bd586b79 Mon Sep 17 00:00:00 2001 From: John Gee Date: Fri, 3 May 2024 11:22:14 +1200 Subject: [PATCH] Remove unimplemented fullDescription from TypeScript --- typings/index.d.ts | 5 ----- typings/index.test-d.ts | 3 --- 2 files changed, 8 deletions(-) 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)),