Add SplitOnRestElement, ExtractRestElement, ExcludeRestElement types#1166
Add SplitOnRestElement, ExtractRestElement, ExcludeRestElement types#1166sindresorhus merged 38 commits intosindresorhus:mainfrom
SplitOnRestElement, ExtractRestElement, ExcludeRestElement types#1166Conversation
…ludeSpread` and `ExtractSpread` into seperated files with tests
|
Please run everything through AI to find typos, bugs, mistakes, and if there are any missing tests. |
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
@som-sm can u review this ! |
|
@som-sm Ping... :) |
|
Please run everything through AI. Same with your other pull requests. |
som-sm
left a comment
There was a problem hiding this comment.
@benzaria Please take the time to thoroughly check your PRs before requesting a review.
You've marked issues as resolved without actually addressing them. There's no rush, just make sure to fix the obvious issues before involving others.
|
That’s fine, please take your time. Just make sure to double-check your work before requesting a review. |
|
@som-sm I think I resolved all ur comments. |
|
@som-sm @sindresorhus can u guys take a look i need to continue on |
…ment` to preserve `readonly`
som-sm
left a comment
There was a problem hiding this comment.
Minor comments, rest LGTM!
Co-authored-by: Som Shekhar Mukherjee <49264891+som-sm@users.noreply.github.com>
…types (#1166) Co-authored-by: Som Shekhar Mukherjee <49264891+som-sm@users.noreply.github.com> Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
SplitOnRestElemnt- Splits an Array on its Rest element portion into three parts:[[...Head], Rest[], [...Tail]].ExtractRestElemnt- Returns the rest element type from and array.ExcludeRestElemnt- Create a array with the rest element removed.