Skip to content

feat: add typeParts function#374

Merged
RebeccaStevens merged 1 commit into
mainfrom
type-parts
Feb 4, 2024
Merged

feat: add typeParts function#374
RebeccaStevens merged 1 commit into
mainfrom
type-parts

Conversation

@JoshuaKGoldberg

Copy link
Copy Markdown
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
@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