ts-commons
Advanced tools
Comparing version 1.0.25 to 1.0.26
@@ -7,3 +7,3 @@ export declare class ActionUtils { | ||
*/ | ||
static ifTrue(test: boolean, action: () => void): void; | ||
static ifTrue(test: boolean, action: () => void | (() => Promise<void>)): void; | ||
/** | ||
@@ -14,3 +14,3 @@ * if test is false, execute action | ||
*/ | ||
static ifFalse(test: boolean, action: () => void): void; | ||
static ifFalse(test: boolean, action: () => void | (() => Promise<void>)): void; | ||
} |
{ | ||
"name": "ts-commons", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"description": "common methods for typescript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
211144