atma-utils
Advanced tools
Comparing version 0.2.44 to 0.2.45
@@ -175,3 +175,3 @@ // Generated by dts-bundle v0.7.3 | ||
resolve(value?: T, ...args: any[]): this; | ||
reject(error: Error | any): this; | ||
reject(error: Error | any, ...args: any[]): this; | ||
then<TResult1 = T, TResult2 = never>(filterSuccess?: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null, filterError?: ((reason: Error | any) => TResult2 | PromiseLike<TResult2>) | undefined | null): class_Dfr<TResult1 | TResult2>; | ||
@@ -178,0 +178,0 @@ done<TResult1 = T, TResult2 = never>(callback: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null): class_Dfr<TResult1 | TResult2>; |
@@ -821,2 +821,6 @@ var _Array_slice, | ||
class_Dfr.prototype.reject = function (error) { | ||
var args = []; | ||
for (var _i = 1; _i < arguments.length; _i++) { | ||
args[_i - 1] = arguments[_i]; | ||
} | ||
var fail = this._fail, always = this._always; | ||
@@ -823,0 +827,0 @@ this._rejected = arguments; |
@@ -763,2 +763,6 @@ (function(factory){ | ||
class_Dfr.prototype.reject = function (error) { | ||
var args = []; | ||
for (var _i = 1; _i < arguments.length; _i++) { | ||
args[_i - 1] = arguments[_i]; | ||
} | ||
var fail = this._fail, always = this._always; | ||
@@ -765,0 +769,0 @@ this._rejected = arguments; |
{ | ||
"name": "atma-utils", | ||
"description": "Helpers", | ||
"version": "0.2.44", | ||
"version": "0.2.45", | ||
"author": "Alexander Kit <alex.kit@atmajs.com>", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -13,3 +13,3 @@ export declare class class_Dfr<T = any> implements PromiseLike<T> { | ||
resolve(value?: T, ...args: any[]): this; | ||
reject(error: Error | any): this; | ||
reject(error: Error | any, ...args: any[]): this; | ||
then<TResult1 = T, TResult2 = never>(filterSuccess?: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null, filterError?: ((reason: Error | any) => TResult2 | PromiseLike<TResult2>) | undefined | null): class_Dfr<TResult1 | TResult2>; | ||
@@ -16,0 +16,0 @@ done<TResult1 = T, TResult2 = never>(callback: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null): class_Dfr<TResult1 | TResult2>; |
@@ -43,2 +43,6 @@ "use strict"; | ||
class_Dfr.prototype.reject = function (error) { | ||
var args = []; | ||
for (var _i = 1; _i < arguments.length; _i++) { | ||
args[_i - 1] = arguments[_i]; | ||
} | ||
var fail = this._fail, always = this._always; | ||
@@ -45,0 +49,0 @@ this._rejected = arguments; |
@@ -175,3 +175,3 @@ // Generated by dts-bundle v0.7.3 | ||
resolve(value?: T, ...args: any[]): this; | ||
reject(error: Error | any): this; | ||
reject(error: Error | any, ...args: any[]): this; | ||
then<TResult1 = T, TResult2 = never>(filterSuccess?: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null, filterError?: ((reason: Error | any) => TResult2 | PromiseLike<TResult2>) | undefined | null): class_Dfr<TResult1 | TResult2>; | ||
@@ -178,0 +178,0 @@ done<TResult1 = T, TResult2 = never>(callback: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null): class_Dfr<TResult1 | TResult2>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
275921
8284