From d3b48f7fe7903b6c150415cb03d5e2992705fa29 Mon Sep 17 00:00:00 2001 From: John Gee Date: Sat, 4 May 2024 16:52:42 +1200 Subject: [PATCH] Remove unimplemented fullDescription from TypeScript (#2191) --- 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)),