Comparing version 0.0.6 to 0.0.7
@@ -8,4 +8,4 @@ export declare function negate<Params extends any[], Result>(f: (...params: Params) => Result): (...params: Params) => boolean; | ||
} | ||
type ChainResult<P> = P extends [infer F1, ...any[]] ? F1 extends IChainable<infer Params, infer R> ? (...params: Params) => R : never : () => void; | ||
export declare function chain<P extends any[]>(...fs: P): ChainResult<P>; | ||
type ChainResult<P extends IChainable[]> = P extends [infer F1, ...any[]] ? F1 extends IChainable<infer Params, infer R> ? (...params: Params) => R : never : () => void; | ||
export declare function chain<P extends IChainable[]>(...fs: P): ChainResult<P>; | ||
export {}; |
@@ -25,2 +25,2 @@ "use strict"; | ||
exports.chain = chain; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9mdW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLFNBQWdCLE1BQU0sQ0FDckIsQ0FBZ0M7SUFFaEMsT0FBTyxDQUFDLEdBQUcsTUFBYyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxHQUFHLE1BQU0sQ0FBQyxDQUFBO0FBQzVDLENBQUM7QUFKRCx3QkFJQztBQUNELFNBQWdCLFFBQVEsQ0FBSSxDQUFJO0lBQy9CLE9BQU8sQ0FBQyxDQUFBO0FBQ1QsQ0FBQztBQUZELDRCQUVDO0FBQ0QsU0FBZ0IsSUFBSSxLQUFJLENBQUM7QUFBekIsb0JBQXlCO0FBQ3pCLFNBQWdCLEdBQUcsQ0FBb0IsQ0FBSTtJQUMxQyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQWtDLENBQUE7QUFDN0MsQ0FBQztBQUZELGtCQUVDO0FBV0QsbUNBQW1DO0FBQ25DLCtEQUErRDtBQUMvRCx5RkFBeUY7QUFDekYsU0FBZ0IsS0FBSyxDQUFrQixHQUFHLEVBQUs7S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LEVBQUUsQ0FBQyxHQUFHLENBQUMsR0FBaUIsRUFBRSxHQUFHLE1BQU0sQ0FBQyxFQUNwRixJQUFJLENBQ0csQ0FBQTtBQUNULENBQUM7QUFMRCxzQkFLQyJ9 |
@@ -8,4 +8,4 @@ export declare function negate<Params extends any[], Result>(f: (...params: Params) => Result): (...params: Params) => boolean; | ||
} | ||
type ChainResult<P> = P extends [infer F1, ...any[]] ? F1 extends IChainable<infer Params, infer R> ? (...params: Params) => R : never : () => void; | ||
export declare function chain<P extends any[]>(...fs: P): ChainResult<P>; | ||
type ChainResult<P extends IChainable[]> = P extends [infer F1, ...any[]] ? F1 extends IChainable<infer Params, infer R> ? (...params: Params) => R : never : () => void; | ||
export declare function chain<P extends IChainable[]>(...fs: P): ChainResult<P>; | ||
export {}; |
@@ -17,2 +17,2 @@ export function negate(f) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9mdW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxNQUFNLENBQ3JCLENBQWdDO0lBRWhDLE9BQU8sQ0FBQyxHQUFHLE1BQWMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxNQUFNLENBQUMsQ0FBQTtBQUM1QyxDQUFDO0FBQ0QsTUFBTSxVQUFVLFFBQVEsQ0FBSSxDQUFJO0lBQy9CLE9BQU8sQ0FBQyxDQUFBO0FBQ1QsQ0FBQztBQUNELE1BQU0sVUFBVSxJQUFJLEtBQUksQ0FBQztBQUN6QixNQUFNLFVBQVUsR0FBRyxDQUFvQixDQUFJO0lBQzFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsQ0FBa0MsQ0FBQTtBQUM3QyxDQUFDO0FBV0QsbUNBQW1DO0FBQ25DLCtEQUErRDtBQUMvRCx5R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QVUsRUFBRSxFQUFFLENBQUMsR0FBRyxDQUFDLEdBQWlCLEVBQUUsR0FBRyxNQUFNLENBQUMsRUFDcEYsSUFBSSxDQUNHLENBQUE7QUFDVCxDQUFDIn0= |
{ | ||
"name": "jmisc", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "cjs/index.js", | ||
@@ -5,0 +5,0 @@ "exports": { |
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
83065