Skip to content

fix(vendor): satisfy check:types in the classname plugin test#115

Merged
RuudBurger merged 1 commit into
mainfrom
fix/classname-plugin-test-types
Jul 16, 2026
Merged

fix(vendor): satisfy check:types in the classname plugin test#115
RuudBurger merged 1 commit into
mainfrom
fix/classname-plugin-test-types

Conversation

@RuudBurger

Copy link
Copy Markdown
Member

Unblocks the Release Packages run that failed after #113: cssClassNameTransformPlugin.test.ts didn't pass check:types (the client embed never typechecks vendor test files, so it slipped through promotion).

What changed

  • Route the test calls through a small typed helper so the payloads don't fight the element prop union (className excess prop, display literal widening, object return)

Test-only, no changeset. check:types and the 4 tests pass locally.

@RuudBurger
RuudBurger requested a review from DouweBos July 16, 2026 18:34
@RuudBurger
RuudBurger merged commit 5ab967a into main Jul 16, 2026
1 check passed
@RuudBurger
RuudBurger deleted the fix/classname-plugin-test-types branch July 16, 2026 19:22
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