Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .pick and .omit #51

Merged
merged 8 commits into from
Feb 26, 2024
Merged

Add .pick and .omit #51

merged 8 commits into from
Feb 26, 2024

Conversation

aryaemami59
Copy link
Collaborator

This PR:

  • Adds .pick and .omit methods which work similarly to .extract and .exclude.

Copy link
Owner

@mmkal mmkal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! Looks good, just need to generate the docs (eslint should do automatically based on the tests)

test/usage.test.ts Outdated Show resolved Hide resolved
@aryaemami59 aryaemami59 marked this pull request as ready for review February 17, 2024 15:07
README.md Outdated Show resolved Hide resolved
@aryaemami59
Copy link
Collaborator Author

@mmkal looks like snapshots needed to be updated.

@mmkal mmkal merged commit 7085137 into mmkal:main Feb 26, 2024
1 check passed
@aryaemami59 aryaemami59 deleted the add-pick-and-omit branch February 27, 2024 05:36
kodiakhq bot pushed a commit to X-oss-byte/Nextjs that referenced this pull request Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [expect-type](https://togithub.com/mmkal/expect-type) | [`0.17.3` -> `0.18.0`](https://renovatebot.com/diffs/npm/expect-type/0.17.3/0.18.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/expect-type/0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/expect-type/0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/expect-type/0.17.3/0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/expect-type/0.17.3/0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>mmkal/expect-type (expect-type)</summary>

### [`v0.18.0`](https://togithub.com/mmkal/expect-type/releases/tag/0.18.0)

[Compare Source](https://togithub.com/mmkal/expect-type/compare/v0.17.3...0.18.0)

#### What's Changed

-   Add `.pick` and `.omit` by [@&#8203;aryaemami59](https://togithub.com/aryaemami59) in [mmkal/expect-type#51

#### New Contributors

-   [@&#8203;aryaemami59](https://togithub.com/aryaemami59) made their first contribution in [mmkal/expect-type#51

**Full Changelog**: mmkal/expect-type@v0.17.3...0.18.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants