@oclif/command
Advanced tools
Comparing version 1.4.28 to 1.4.29
@@ -0,1 +1,9 @@ | ||
<a name="1.4.29"></a> | ||
## [1.4.29](https://github.com/oclif/command/compare/v1.4.28...v1.4.29) (2018-05-13) | ||
### Bug Fixes | ||
* allow subclasses to return any promise type ([aa89f1e](https://github.com/oclif/command/commit/aa89f1e)) | ||
<a name="1.4.28"></a> | ||
@@ -2,0 +10,0 @@ ## [1.4.28](https://github.com/oclif/command/compare/v1.4.27...v1.4.28) (2018-05-13) |
@@ -46,8 +46,8 @@ import * as Config from '@oclif/config'; | ||
abstract run(): Promise<any>; | ||
protected init(): Promise<undefined>; | ||
protected init(): Promise<any>; | ||
protected parse<F, A extends { | ||
[name: string]: any; | ||
}>(options?: Parser.Input<F>, argv?: string[]): Parser.Output<F, A>; | ||
protected catch(err: any): Promise<never>; | ||
protected finally(_: Error | undefined): Promise<void>; | ||
protected catch(err: any): Promise<any>; | ||
protected finally(_: Error | undefined): Promise<any>; | ||
protected _help(): never; | ||
@@ -54,0 +54,0 @@ protected _helpOverride(): boolean; |
@@ -5,3 +5,3 @@ import * as Config from '@oclif/config'; | ||
static run(argv?: string[], options?: Config.LoadOptions): Promise<any>; | ||
init(): Promise<undefined>; | ||
init(): Promise<any>; | ||
run(): Promise<undefined>; | ||
@@ -8,0 +8,0 @@ protected _helpOverride(): boolean; |
{ | ||
"name": "@oclif/command", | ||
"description": "oclif base command", | ||
"version": "1.4.28", | ||
"version": "1.4.29", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/command/issues", |
49344