Skip to content

refactor: type analysis result without casts - #185

Merged
bartveneman merged 2 commits into
mainfrom
claude/remove-casts
Nov 9, 2026
Merged

bartveneman merged 2 commits into
mainfrom
claude/remove-casts

Conversation

@bartveneman

@bartveneman bartveneman commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Adds analyze_css() (src/analyze.ts), which calls analyze with useLocations: false and drops __meta__ by destructuring. CssAnalysis is now derived from it, so the as Record<string, unknown> + delete and both as unknown as CssAnalysis casts (program and smoke test) are gone. No behavior change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Package Size Increase

📦 Package 📏 Base Size 📏 Source Size 📈 Size Change
wallace-cli 4.8 kB 4.9 kB +20 B

@bartveneman
bartveneman merged commit 6f764e6 into main Nov 9, 2026
10 checks passed
@bartveneman
bartveneman deleted the claude/remove-casts branch November 9, 2026 19:50
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.

2 participants