@eslint-react/eff
Advanced tools
Comparing version
/** | ||
* 1-byte version `undefined`, produces fewer bytes than `undefined` or `void 0` in output files. | ||
* alias for `undefined` | ||
*/ | ||
type _ = undefined; | ||
type unit = undefined; | ||
/** | ||
* 1-byte version `undefined`, produces fewer bytes than `undefined` or `void 0` in output files. | ||
* alias for `undefined` | ||
*/ | ||
declare const _: undefined; | ||
declare const unit: undefined; | ||
type Pretty<T> = { | ||
@@ -431,2 +431,2 @@ [P in keyof T]: T[P]; | ||
export { type NarrowedTo, type Pretty, _, absurd, apply, chunk, compose, constFalse, constNull, constTrue, constVoid, constant, dual, flip, flow, getOrElse, getOrElseUpdate, identity, isArray, isFunction, isObject, isTruthy, not, or, pipe, pipeArguments, tryAddToSet, tupled, untupled, zipWith }; | ||
export { type NarrowedTo, type Pretty, absurd, apply, chunk, compose, constFalse, constNull, constTrue, constVoid, constant, dual, flip, flow, getOrElse, getOrElseUpdate, identity, isArray, isFunction, isObject, isTruthy, not, or, pipe, pipeArguments, tryAddToSet, tupled, unit, untupled, zipWith }; |
// src/index.ts | ||
var _ = void 0; | ||
var unit = void 0; | ||
function not(predicate) { | ||
@@ -79,3 +79,3 @@ return (data) => !predicate(data); | ||
var compose = dual(2, (ab, bc) => (a) => bc(ab(a))); | ||
var absurd = (_2) => { | ||
var absurd = (_) => { | ||
throw new Error("Called `absurd` function which should be uncallable"); | ||
@@ -197,2 +197,2 @@ }; | ||
export { _, absurd, apply, chunk, compose, constFalse, constNull, constTrue, constVoid, constant, dual, flip, flow, getOrElse, getOrElseUpdate, identity, isArray, isFunction, isObject, isTruthy, not, or, pipe, pipeArguments, tryAddToSet, tupled, untupled, zipWith }; | ||
export { absurd, apply, chunk, compose, constFalse, constNull, constTrue, constVoid, constant, dual, flip, flow, getOrElse, getOrElseUpdate, identity, isArray, isFunction, isObject, isTruthy, not, or, pipe, pipeArguments, tryAddToSet, tupled, unit, untupled, zipWith }; |
{ | ||
"name": "@eslint-react/eff", | ||
"version": "2.0.0-next.43", | ||
"version": "2.0.0-next.44", | ||
"description": "JavaScript and TypeScript utilities (previously some re-exports of the effect library).", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Rel1cx/eslint-react", |
29260
-0.45%