Skip to content

fix(types): css import type#6569

Merged
johnjenkins merged 1 commit intomainfrom
fix-css-import-type
Jan 27, 2026
Merged

fix(types): css import type#6569
johnjenkins merged 1 commit intomainfrom
fix-css-import-type

Conversation

@johnjenkins
Copy link
Contributor

@johnjenkins johnjenkins commented Jan 26, 2026

What is the current behavior?

GitHub Issue Number: #6567

What is the new behavior?

Closes #6567

In order to potentially inject transformTag calls into css strings (e.g. ${transformTag('my-element')}.active:hover {}), the return type of css 'modules' changed from string to () => string (due to the fact we need the string to be resolved at call-time).

This PR just updates the type to reflect this change

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

Other information

@johnjenkins johnjenkins requested a review from a team as a code owner January 26, 2026 23:44
@johnjenkins johnjenkins merged commit 60802fc into main Jan 27, 2026
69 checks passed
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.

bug: regression with imported stylesheet typing

1 participant