Skip to content

feat: allow type-narrowing of nodes based on type_name#230

Merged
bartveneman merged 1 commit intomainfrom
feat/infer-on-type-name
May 6, 2026
Merged

feat: allow type-narrowing of nodes based on type_name#230
bartveneman merged 1 commit intomainfrom
feat/infer-on-type-name

Conversation

@bartveneman
Copy link
Copy Markdown
Member

closes #229

@codecov-commenter
Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 1.55kB (0.83%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@projectwallace/css-parser-esm 187.05kB 1.55kB (0.83%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: @projectwallace/css-parser-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
node-types-mntWKkN-.d.ts (New) 25.17kB 25.17kB 100.0% 🚀
node-types-DJytj0FB.d.ts (Deleted) -23.63kB 0 bytes -100.0% 🗑️

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.86%. Comparing base (ba3c31e) to head (366f397).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #230   +/-   ##
=======================================
  Coverage   93.86%   93.86%           
=======================================
  Files          17       17           
  Lines        2965     2965           
  Branches      808      808           
=======================================
  Hits         2783     2783           
  Misses        182      182           

☔ 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.

@bartveneman bartveneman merged commit c960fe6 into main May 6, 2026
5 checks passed
@bartveneman bartveneman deleted the feat/infer-on-type-name branch May 6, 2026 13:27
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.

node.type_name='rule' should tell TS that node is a Rule

2 participants