Skip to content
Myr

Remove unimplemented fullDescription from TypeScript (#2191)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by John Gee · committed by GitHub · parent c749eb8 · Browse files · 2 files+0 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+0 added−8 removed

  • other:+0 added−8 removed

2 files+0 added−8 removed

modified:typings/index.d.ts-5 removed
162 unmodified lines
163 */164 env(name: string): this;165166 /**167 * Calculate the full description, including defaultValue etc.168 */169 fullDescription(): string;170171 /**167 * Set the custom handler for processing CLI option arguments into option values.168 */169 argParser<T>(fn: (value: string, previous: T) => T): this;170
799 unmodified lines
modified:typings/index.test-d.ts-3 removed
615 unmodified lines
616617// env618expectType<commander.Option>(baseOption.env('PORT'));619620// fullDescription621expectType<string>(baseOption.fullDescription());622620// argParser621expectType<commander.Option>(622 baseOption.argParser((value: string) => parseInt(value)),623);
79 unmodified lines