Skip to content

feat: rename *TypeParts functions to *Constituents#713

Merged
JoshuaKGoldberg merged 3 commits into
mainfrom
type-parts-to-constituents
Mar 20, 2025
Merged

feat: rename *TypeParts functions to *Constituents#713
JoshuaKGoldberg merged 3 commits into
mainfrom
type-parts-to-constituents

Conversation

@JoshuaKGoldberg

Copy link
Copy Markdown
Owner

PR Checklist

Overview

Leaves the old functions as @deprecated variables set to the new ones.

Updates the suggested variable naming from typePart to constituent. I at first had tried typeConstituent but found it to be kind of long.

💖

@codecov

codecov Bot commented Mar 19, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 83.33333% with 4 lines in your changes missing coverage. Please review.

Project coverage is 61.00%. Comparing base (cd60274) to head (f13dbaa).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
src/types/utilities.ts 83.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #713      +/-   ##
==========================================
+ Coverage   60.87%   61.00%   +0.12%     
==========================================
  Files          35       35              
  Lines        2914     2921       +7     
  Branches      463      463              
==========================================
+ Hits         1774     1782       +8     
+ Misses       1140     1139       -1     
Flag Coverage Δ
4.8.4 58.61% <83.33%> (+0.16%) ⬆️
latest 60.32% <83.33%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JoshuaKGoldberg JoshuaKGoldberg enabled auto-merge (squash) March 20, 2025 12:23
@JoshuaKGoldberg JoshuaKGoldberg merged commit c3e980e into main Mar 20, 2025
@JoshuaKGoldberg JoshuaKGoldberg deleted the type-parts-to-constituents branch March 20, 2025 12:23
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: Rename "TypeParts" functions to "Constituents"?

2 participants