fix: re-export the *Transformer method of cssinjs#196
Merged
MadCcc merged 7 commits intoant-design:masterfrom Jun 11, 2025
Merged
fix: re-export the *Transformer method of cssinjs#196MadCcc merged 7 commits intoant-design:masterfrom
*Transformer method of cssinjs#196MadCcc merged 7 commits intoant-design:masterfrom
Conversation
Co-authored-by: wilin-dan <wilin-dan@users.noreply.github.com> close ant-design#192
This reverts commit b4c2e0e.
Wxh16144
commented
Jun 11, 2025
|
|
||
| export let DEFAULT_THEME_PROVIDER = ThemeProvider as StyledThemeProvider; | ||
| export let DEFAULT_THEME_CONTEXT = ThemeContext as Context<Theme>; | ||
| export let DEFAULT_THEME_CONTEXT: Context<Theme> = ThemeContext as any; |
Member
Author
There was a problem hiding this comment.
emotion 在 emotion-js/emotion#3281 这里改了一些 TS 类型。
emotion/react 的 Theme其实也是一个空的 interface。 所以,这里直接 any 避免报错
MadCcc
approved these changes
Jun 11, 2025
|
🎉 This PR is included in version 4.0.0-alpha.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
background: #190
close #192,