mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Fix showHidden() casing
This commit is contained in:
Vendored
+3
-2
@@ -5,6 +5,7 @@
|
||||
// Jeffery Grajkowski <https://github.com/pushplay>
|
||||
// Jeff Kenney <https://github.com/jeffkenney>
|
||||
// Jimi (Dimitris) Charalampidis <https://github.com/JimiC>
|
||||
// Teddy Cross <https://github.com/tkazec>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
@@ -191,8 +192,8 @@ declare namespace yargs {
|
||||
|
||||
showCompletionScript(): Argv;
|
||||
|
||||
showhidden(option?: string | boolean): Argv;
|
||||
showhidden(option: string, description?: string): Argv;
|
||||
showHidden(option?: string | boolean): Argv;
|
||||
showHidden(option: string, description?: string): Argv;
|
||||
|
||||
showHelp(consoleLevel?: string): Argv;
|
||||
|
||||
|
||||
@@ -654,12 +654,12 @@ function Argv$hide() {
|
||||
.hide('a');
|
||||
}
|
||||
|
||||
function Argv$showhidden() {
|
||||
function Argv$showHidden() {
|
||||
const ya = yargs
|
||||
.showhidden()
|
||||
.showhidden(true)
|
||||
.showhidden('show-hidden')
|
||||
.showhidden('show-hidden', 'Show hidden options');
|
||||
.showHidden()
|
||||
.showHidden(true)
|
||||
.showHidden('show-hidden')
|
||||
.showHidden('show-hidden', 'Show hidden options');
|
||||
}
|
||||
|
||||
function Argv$scriptName() {
|
||||
|
||||
Reference in New Issue
Block a user