Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: fixed some typescript error #8

Merged
merged 5 commits into from
Jul 17, 2024
Merged

Conversation

YumoImer
Copy link
Contributor

修复了一些在 antd 集成中遇到的 TS 问题。

@YumoImer YumoImer requested a review from zombieJ July 17, 2024 09:07
@YumoImer YumoImer merged commit 87d2f50 into master Jul 17, 2024
7 checks passed
@YumoImer YumoImer deleted the fix/refactor-antd-theme branch July 17, 2024 10:13
- `AliasToken`: 范型参数,表示别名 token
- `DesignTokenn`: 范型参数,表示设计 token
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DesignTokenn => DesignToken

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好眼力😂

- `AliasToken`: 范型参数,表示别名 token
- `DesignTokenn`: 范型参数,表示设计 token
> 使用建议:为了更好的获得 TS 类型支持,建议您在使用 `genStyleUtils` 的时候传入范型参数 `CompTokenMap` `DesignTokenn` `AliasToken`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DesignTokenn

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.

3 participants