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 UnionToIntersection type #89

Merged
merged 5 commits into from Mar 9, 2020

Conversation

ifiokjr
Copy link
Contributor

@ifiokjr ifiokjr commented Feb 23, 2020

Description

Creates an intersection type from a union type. This has been useful for me in library code.

@ifiokjr ifiokjr changed the title Union to intersection Add UnionToIntersection type Feb 23, 2020
source/union-to-intersection.d.ts Outdated Show resolved Hide resolved
source/union-to-intersection.d.ts Outdated Show resolved Hide resolved
@ifiokjr
Copy link
Contributor Author

ifiokjr commented Mar 5, 2020

I forced push without first checking if you'd made changes yourself.

@ifiokjr ifiokjr force-pushed the union-to-intersection branch 2 times, most recently from a702e15 to a96e2f9 Compare March 5, 2020 15:07
@ifiokjr
Copy link
Contributor Author

ifiokjr commented Mar 5, 2020

The missing commits are resolved now.

@sindresorhus sindresorhus merged commit bed43c1 into sindresorhus:master Mar 9, 2020
@sindresorhus
Copy link
Owner

👍

@ifiokjr ifiokjr deleted the union-to-intersection branch March 10, 2020 06:10
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