appolo-utils
Advanced tools
Comparing version 0.0.61 to 0.0.62
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=interfaces.js.map |
@@ -1,2 +0,2 @@ | ||
interface PromiseFulfilledResult<T> { | ||
export interface PromiseFulfilledResult<T> { | ||
status: "fulfilled"; | ||
@@ -6,3 +6,3 @@ value: T; | ||
interface PromiseRejectedResult { | ||
export interface PromiseRejectedResult { | ||
status: "rejected"; | ||
@@ -12,5 +12,5 @@ reason: any; | ||
type PromiseSettledResult<T> = PromiseFulfilledResult<T> | PromiseRejectedResult; | ||
export type PromiseSettledResult<T> = PromiseFulfilledResult<T> | PromiseRejectedResult; | ||
type Resolvable<R> = R | PromiseLike<R> | ||
type IterateFunction<T, R> = (item: T, index: number | string) => Resolvable<R>; | ||
export type Resolvable<R> = R | PromiseLike<R> | ||
export type IterateFunction<T, R> = (item: T, index: number | string) => Resolvable<R>; |
@@ -5,2 +5,3 @@ import {Deferred} from "./deferred"; | ||
import {PromiseSome} from "./promiseSome"; | ||
import {IterateFunction, Resolvable} from "./interfaces"; | ||
@@ -7,0 +8,0 @@ export class Promises { |
@@ -17,3 +17,3 @@ { | ||
"main": "./index.js", | ||
"version": "0.0.61", | ||
"version": "0.0.62", | ||
"license": "MIT", | ||
@@ -20,0 +20,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
130074
2338