Skip to content

Commit

Permalink
chore@small
Browse files Browse the repository at this point in the history
  • Loading branch information
selfrefactor committed Feb 6, 2025
1 parent d945234 commit 5dc9c63
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 52 deletions.
2 changes: 2 additions & 0 deletions files/NEXT_VERSION_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ it('within pipe requires explicit type', () => {
```

- Remove following methods:

-- always
-- addIndex
-- addIndexRight

Expand Down
22 changes: 0 additions & 22 deletions files/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,28 +215,6 @@ Notes:
// @SINGLE_MARKER
export function allPass<F extends (...args: any[]) => boolean>(predicates: readonly F[]): F;

/*
Method: always
Explanation: It returns function that always returns `x`.
Example:
```
const fn = R.always(7)
const result = fn()
// => 7
```
Categories: Logic
Notes:
*/
// @SINGLE_MARKER
export function always<T>(x: T): (...args: unknown[]) => T;

/*
Method: and
Expand Down
6 changes: 3 additions & 3 deletions source/all-spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { all, piped } from 'rambda'
import * as R from 'rambda'

describe('all', () => {
it('happy', () => {
const result = piped(
const result = R.piped(
[1, 2, 3],
all(x => {
R.all(x => {
x // $ExpectType number
return x > 0
}),
Expand Down
10 changes: 0 additions & 10 deletions source/always-spec.ts

This file was deleted.

3 changes: 0 additions & 3 deletions source/always.js

This file was deleted.

14 changes: 0 additions & 14 deletions source/always.spec.js

This file was deleted.

0 comments on commit 5dc9c63

Please sign in to comment.