@eslint-react/eff 2.3.6-beta.0 → 2.3.6-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -7
- package/dist/index.js +6 -6
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
//#region src/index.d.ts
|
|
2
2
|
/**
|
|
3
|
-
* alias for `undefined
|
|
3
|
+
* alias for `undefined`.
|
|
4
4
|
*/
|
|
5
5
|
type unit = undefined;
|
|
6
6
|
/**
|
|
7
|
-
* alias for `undefined
|
|
7
|
+
* alias for `undefined`.
|
|
8
8
|
*/
|
|
9
9
|
declare const unit: undefined;
|
|
10
10
|
type Pretty<T> = { [P in keyof T]: T[P] } & {};
|
|
@@ -169,19 +169,19 @@ declare const apply: <A>(a: A) => <B>(self: (a: A) => B) => B;
|
|
|
169
169
|
*/
|
|
170
170
|
declare function constant<T>(x: T): () => T;
|
|
171
171
|
/**
|
|
172
|
-
* Do nothing and return void
|
|
172
|
+
* Do nothing and return `void`.
|
|
173
173
|
*/
|
|
174
174
|
declare function constVoid(): void;
|
|
175
175
|
/**
|
|
176
|
-
* Do nothing and return null
|
|
176
|
+
* Do nothing and return `null`.
|
|
177
177
|
*/
|
|
178
178
|
declare function constNull(): null;
|
|
179
179
|
/**
|
|
180
|
-
* Do nothing and return true
|
|
180
|
+
* Do nothing and return `true`.
|
|
181
181
|
*/
|
|
182
182
|
declare function constTrue(): true;
|
|
183
183
|
/**
|
|
184
|
-
* Do nothing and return false
|
|
184
|
+
* Do nothing and return `false`.
|
|
185
185
|
*/
|
|
186
186
|
declare function constFalse(): false;
|
|
187
187
|
/**
|
|
@@ -250,7 +250,7 @@ declare const absurd: <A>(_: never) => A;
|
|
|
250
250
|
*/
|
|
251
251
|
declare const tupled: <A extends ReadonlyArray<unknown>, B>(f: (...a: A) => B) => (a: A) => B;
|
|
252
252
|
/**
|
|
253
|
-
* Inverse function of `tupled
|
|
253
|
+
* Inverse function of `tupled`.
|
|
254
254
|
*
|
|
255
255
|
* @param f - The function to be converted.
|
|
256
256
|
* @example
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/index.ts
|
|
2
2
|
/**
|
|
3
|
-
* alias for `undefined
|
|
3
|
+
* alias for `undefined`.
|
|
4
4
|
*/
|
|
5
5
|
const unit = void 0;
|
|
6
6
|
function not(predicate) {
|
|
@@ -177,23 +177,23 @@ function constant(x) {
|
|
|
177
177
|
return () => x;
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
|
-
* Do nothing and return void
|
|
180
|
+
* Do nothing and return `void`.
|
|
181
181
|
*/
|
|
182
182
|
function constVoid() {}
|
|
183
183
|
/**
|
|
184
|
-
* Do nothing and return null
|
|
184
|
+
* Do nothing and return `null`.
|
|
185
185
|
*/
|
|
186
186
|
function constNull() {
|
|
187
187
|
return null;
|
|
188
188
|
}
|
|
189
189
|
/**
|
|
190
|
-
* Do nothing and return true
|
|
190
|
+
* Do nothing and return `true`.
|
|
191
191
|
*/
|
|
192
192
|
function constTrue() {
|
|
193
193
|
return true;
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
|
-
* Do nothing and return false
|
|
196
|
+
* Do nothing and return `false`.
|
|
197
197
|
*/
|
|
198
198
|
function constFalse() {
|
|
199
199
|
return false;
|
|
@@ -263,7 +263,7 @@ const absurd = (_) => {
|
|
|
263
263
|
*/
|
|
264
264
|
const tupled = (f) => (a) => f(...a);
|
|
265
265
|
/**
|
|
266
|
-
* Inverse function of `tupled
|
|
266
|
+
* Inverse function of `tupled`.
|
|
267
267
|
*
|
|
268
268
|
* @param f - The function to be converted.
|
|
269
269
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eff",
|
|
3
|
-
"version": "2.3.6-beta.
|
|
3
|
+
"version": "2.3.6-beta.10",
|
|
4
4
|
"description": "JavaScript and TypeScript utilities (previously some re-exports of the effect library).",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"./package.json"
|
|
31
31
|
],
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"tsdown": "^0.16.
|
|
33
|
+
"tsdown": "^0.16.5",
|
|
34
34
|
"@local/configs": "0.0.0"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|