-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: typings for gt, gte, lt, lte utilities (#723)
- Loading branch information
1 parent
d7ed1e7
commit 79013c7
Showing
13 changed files
with
122 additions
and
356 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import {gt} from 'rambda' | ||
|
||
describe('R.gt', () => { | ||
it('happy', () => { | ||
const result = gt(1, 2) | ||
const curriedResult = gt(2)(3) | ||
result // $ExpectType boolean | ||
curriedResult // $ExpectType boolean | ||
}) | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {gte} from 'rambda' | ||
|
||
describe('R.gte', () => { | ||
it('happy', () => { | ||
const result = gte(1, 2) | ||
const curriedResult = gte(2)(3) | ||
result // $ExpectType boolean | ||
curriedResult // $ExpectType boolean | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {lt} from 'rambda' | ||
|
||
describe('R.lt', () => { | ||
it('happy', () => { | ||
const result = lt(1, 2) | ||
const curriedResult = lt(2)(3) | ||
result // $ExpectType boolean | ||
curriedResult // $ExpectType boolean | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {lte} from 'rambda' | ||
|
||
describe('R.lte', () => { | ||
it('happy', () => { | ||
const result = lte(1, 2) | ||
const curriedResult = lte(2)(3) | ||
result // $ExpectType boolean | ||
curriedResult // $ExpectType boolean | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.