@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 }; |
'use strict'; | ||
// src/index.ts | ||
var _ = void 0; | ||
var unit = void 0; | ||
function not(predicate) { | ||
@@ -81,3 +81,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"); | ||
@@ -199,3 +199,2 @@ }; | ||
exports._ = _; | ||
exports.absurd = absurd; | ||
@@ -226,3 +225,4 @@ exports.apply = apply; | ||
exports.tupled = tupled; | ||
exports.unit = unit; | ||
exports.untupled = untupled; | ||
exports.zipWith = zipWith; |
{ | ||
"name": "@eslint-react/eff", | ||
"version": "1.52.3-beta.1", | ||
"version": "1.52.3-beta.2", | ||
"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
57147
-0.45%