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 PartialExcept<T,K> #135

Closed
AshGw opened this issue Oct 8, 2024 · 0 comments
Closed

Add PartialExcept<T,K> #135

AshGw opened this issue Oct 8, 2024 · 0 comments

Comments

@AshGw
Copy link
Owner

AshGw commented Oct 8, 2024

New feature motivation

Basically this

type _PartialExcept<T, K extends keyof T> = Partial<Omit<T, K>> &
	Required<Pick<T, K>>;

Where the type T gets passed as Partial except for one property K, where K is required in that particular type

New feature description

Needed.

New feature implementation

No response

AshGw added a commit that referenced this issue Oct 11, 2024
AshGw added a commit that referenced this issue Oct 11, 2024
* chore: purge deps

* feat(#135): add `PartialExcept<T,P>`

* chore(release): v1.39.0
@AshGw AshGw closed this as completed Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant