-
Notifications
You must be signed in to change notification settings - Fork 592
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
[Field]优化 Field 类型注释 #4991
Labels
Comments
这是您为 Fusion/Next 提的第一个 issue,感谢您对 Fusion 的信任和支持,我们会尽快进行处理。 |
field 的 values 值是动态化的,如果只是在初始化的时候传入类型,后续动态 set 之后就对不上了。 |
目前在 getValues 的时候是提供泛型支持的。如果需要做 values 的类型校验,可以用 getValues 的 |
你说的这种场景,使用联合类型
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component
Field
Feature Description
希望支持这样的泛型写法,能使得 field 使用过程中有更好的类型提示。
The text was updated successfully, but these errors were encountered: