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

feat: add typeParts function #374

Merged
merged 1 commit into from
Feb 4, 2024
Merged

feat: add typeParts function #374

merged 1 commit into from
Feb 4, 2024

Conversation

JoshuaKGoldberg
Copy link
Owner

PR Checklist

Overview

Adds in a shallow typeParts function. It's roughly equivalent to the existing intersectionTypeParts and unionTypeParts functions.

Doesn't add in a { recursive?: boolean } or anything like that.

@RebeccaStevens RebeccaStevens merged commit ab0c924 into main Feb 4, 2024
22 checks passed
@RebeccaStevens RebeccaStevens deleted the type-parts branch February 4, 2024 10:07
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.

🚀 Feature: typeParts API, combining intersectionTypeParts and unionTypeParts?
2 participants