Commit Graph

34 Commits

Author SHA1 Message Date
raon0211
bd7468fcd0 docs: Add missing docs 2024-10-24 18:10:25 +09:00
Kae
5d5f9c4f87
docs: translate text of Returns (#746) 2024-10-24 13:06:23 +09:00
Dayong Lee
59e973708f
refactor: improve type definitions and clean up type assertions inafter, isKey, orderBy, and withTimeout functions (#703)
* Fix after

* Remove type assertion
2024-10-13 22:04:01 +09:00
원동휘
b9337bbbf6
docs(throttle): Update docs (#688) 2024-10-09 11:53:59 +09:00
raon0211
25602192d8 docs: Fix docs style 2024-10-07 22:25:31 +09:00
Dongho Kim
3d7ba7d691
docs(before): Update docs (#682)
* docs(before): Correct JSDoc example

* docs(before): Add lodash compatibility section

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-07 22:14:13 +09:00
Sojin Park
306a6c70da docs: Add compatibility section for curry & curryRight in Korean and Japanese 2024-10-03 18:28:48 +09:00
Dayong Lee
22701d5c23
fix(before,once): allow accepting arguments for once and fix types of before and once (#647)
* Fix before once

* Fix lint error

* Apply suggestions from code review

Co-authored-by: Sojin Park <raon0211@gmail.com>

* Fix once

* Fix once types

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 18:08:37 +09:00
Sojin Park
aca23abae5 style: Fix prettier 2024-10-03 18:04:32 +09:00
Dongho Kim
c6c76dbad9
docs(flowRight): Update docs (#651)
* docs(flowRight): Update docs

* Update docs/ko/reference/function/flowRight.md

* Update docs/ko/reference/function/flowRight.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 16:04:30 +09:00
Sojin Park
3462a8425c feat(isEqualWith): Implement isEqualWith 2024-10-01 22:33:44 +09:00
Dongho Kim
30518a8fe6
docs(curryRight): Rename parameters for clarity and update docs (#631) 2024-10-01 20:21:51 +09:00
Dongho Kim
832ecc53da
docs(flow): Update docs (#630)
* docs(flow): Update docs

* Update docs/ko/reference/function/flow.md

* Update docs/ko/reference/function/flow.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-01 20:21:21 +09:00
Sojin Park
10a83ddaf3 style: Fix prettier 2024-10-01 14:52:25 +09:00
Sojin Park
674d0868aa docs: Add docs 2024-10-01 14:08:25 +09:00
Sojin Park
5553908173 docs(flowRight): Add docs for flowRight
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-28 23:04:52 +09:00
Sojin Park
819d64ecfa docs: Add missing docs and style docs 2024-09-28 22:22:34 +09:00
Dongho Kim
c9346d505c
docs(curry): Update docs for curry (#541)
* docs(curry): Update docs for `curry`

* docs(curry): Synchronize documentation with JSDoc

* Update curry.md

* Update curry.md

* Update curry.md

* Update curry.md

* Update curry.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-24 10:25:39 +09:00
D-Sketon
625b915d9c
docs: fix doc (#565)
* docs: fix doc

* Update docs/zh_hans/reference/compat/array/castArray.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-23 15:17:04 +09:00
Sojin Park
aa89c90152 feat(debounce, throttle): Support edges for debounce & throttle 2024-09-18 16:11:48 +09:00
Sojin Park
19eabc9366 feat(throttle): Add compatibility with lodash
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-16 22:57:35 +09:00
Sojin Park
21212c448e revert: Revert debounce support for leading and trailing edge, due to performance degradation
This reverts commit 7239073eb0.
2024-09-16 21:38:08 +09:00
Sojin Park
7239073eb0 feat(debounce): Add leading and trailing edge support in debounce 2024-09-16 21:23:14 +09:00
Sojin Park
09eb88676e feat(debounce): Add compatibility with lodash 2024-09-16 19:04:30 +09:00
D-Sketon
9bb1203b51
docs(spread): fix doc (#536)
* fix(spread): fix doc

* Update spread.md

* Update spread.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-15 17:55:34 +09:00
raon0211
06f68c20b9 docs: Fix docs style
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-14 14:47:53 +09:00
seungrodotlee
9364390715
feat(curry): add curry function (#187)
* feat. Add utility types

* feat. Add curry function

* feat. add error throw

* feat. add spec of curry

* fix. fix type error when optional parameter exist

* fix. fix type when rest parameters exist

* fix. fix types error

* fix. fix all type errors

* refactor. rename OptionalStartIdx

* test. add test codes when rest parameters exist

* feat. add  method to flexibleCurry

* feat. fix all type errors and functional errors

* chore. add benchmark

* chore. fix comments

* refactor. enhance type of flexibleCurry

* refactor. refactor arrow function -> normal function

* feat. correctly infer the errored type when the run method is called while the argument to be received is not optional

* docs. add docs about curry

* refactor. file refactor naming case of types

* fix. fix types error caused by renaming of case

* fix. fix errors same as last commit

* fix. fix errors same as last commit

* feat. keep curry function and type simple

* fix. fix test codes with updated implementation

* Update src/function/index.ts

* feat(curry): Fix curry types

* feat(curry): Fix curry types

* feat(curry): Fix curry types

* Remove ramda

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-14 14:24:56 +09:00
D-Sketon
eb8bf63ad7
docs: improve doc (#506) 2024-09-10 08:40:56 +09:00
Sojin Park
a84ffa9aed docs(spread): Add docs for spread 2024-08-31 19:38:26 +09:00
Dayong Lee
db3a8bc0d5
fix(debounce): fix return type (#406)
* Improve type of debounce

* Rollback signal arguments

* Remove temp code

* Revert testcase

* Change generic type

* Revert generic type
2024-08-31 15:04:52 +09:00
Sojin Park
14ae504e0f style: Fix ESLint errors 2024-08-31 14:45:20 +09:00
Dongho Kim
1890d8ff07
docs(ary): Update docs for ary (#452)
* docs(ary): Update docs for `ary`

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-31 14:45:00 +09:00
Dayong Lee
f7a1c8548a
fix(throttle): fix types of generic and return value (#447)
* Improve types of throttle

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-31 10:54:46 +09:00
Yusuke Hayashi
d45bc3352b
docs: Translate and create Japanese version (#432)
* docs: translate and create Japanese version

* docs: run prettier

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-28 23:19:07 +09:00