@eslint-react/eff
Advanced tools
Comparing version 1.25.1-next.0 to 1.26.0-next.0
@@ -17,16 +17,12 @@ /** | ||
*/ | ||
declare function returnVoid(): void; | ||
declare const constVoid: () => void; | ||
/** | ||
* Do nothing and return true | ||
*/ | ||
declare function returnTrue(): true; | ||
declare const constTrue: () => true; | ||
/** | ||
* Do nothing and return false | ||
*/ | ||
declare function returnFalse(): false; | ||
declare const constFalse: () => false; | ||
/** | ||
* Do nothing and return undefined | ||
*/ | ||
declare function returnUndefined(): undefined; | ||
/** | ||
* Creates a function that can be used in a data-last (aka `pipe`able) or | ||
@@ -282,2 +278,2 @@ * data-first style. | ||
export { type NarrowedTo, type Pretty, _, concatenate, dual, flip, flow, getOrUpdate, identity, intersperse, isArray, isObject, isTruthy, not, or, pipe, returnFalse, returnTrue, returnUndefined, returnVoid, tryAddToSet, zipWith }; | ||
export { type NarrowedTo, type Pretty, _, concatenate, constFalse, constTrue, constVoid, dual, flip, flow, getOrUpdate, identity, intersperse, isArray, isObject, isTruthy, not, or, pipe, tryAddToSet, zipWith }; |
@@ -8,13 +8,6 @@ 'use strict'; | ||
} | ||
function returnVoid() { | ||
} | ||
function returnTrue() { | ||
return true; | ||
} | ||
function returnFalse() { | ||
return false; | ||
} | ||
function returnUndefined() { | ||
return undefined; | ||
} | ||
var constVoid = () => { | ||
}; | ||
var constTrue = () => true; | ||
var constFalse = () => false; | ||
var dual = function(arity, body) { | ||
@@ -206,2 +199,5 @@ if (typeof arity === "function") { | ||
exports.concatenate = concatenate; | ||
exports.constFalse = constFalse; | ||
exports.constTrue = constTrue; | ||
exports.constVoid = constVoid; | ||
exports.dual = dual; | ||
@@ -219,7 +215,3 @@ exports.flip = flip; | ||
exports.pipe = pipe; | ||
exports.returnFalse = returnFalse; | ||
exports.returnTrue = returnTrue; | ||
exports.returnUndefined = returnUndefined; | ||
exports.returnVoid = returnVoid; | ||
exports.tryAddToSet = tryAddToSet; | ||
exports.zipWith = zipWith; |
{ | ||
"name": "@eslint-react/eff", | ||
"version": "1.25.1-next.0", | ||
"version": "1.26.0-next.0", | ||
"description": "JavaScript and TypeScript utilities (previously some re-exports of the effect library).", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Rel1cx/eslint-react", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
48110
689