Skip to content
Myr

Expand typescript checks (#1198)

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

* Add proof of concept Command type without option properties * Add program * Add tests for exported global, and start refactoring existing tests * Methodically test syntax, instead of just lots of README and example code

authored by John Gee · committed by GitHub · parent a3f453f · Browse files · 2 files+153 added−126 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+153 added−126 removed

  • other:+153 added−126 removed

2 files+153 added−126 removed

modified:typings/commander-tests.ts+152 added-126 removed
modified:typings/index.d.ts+1 added
344 unmodified lines
345 unknown: string[];346 }347348 interface CommanderStatic extends Command {349 program: Command;350 Command: CommandConstructor;351 Option: OptionConstructor;352 CommanderError:CommanderErrorConstructor;353 }
5 unmodified lines