-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
List和Flex的type.d.ts会导致TS2604错误 #1495
Labels
Comments
It will be better to write your issue/comment in English, so more people can understand you. |
@bylevel why close ? does your problems solved? |
@paranoidjk because same #1502 |
at version 1.4.1 this problem solved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
1.4.0
Environment
macOS 10.12.5, chrome, react@^15.5.4
Steps to reproduce
What is actually happening?
error TS2604: JSX element type 'List.Item' does not have any construct or call signatures.
将 List 组件的 type.d.ts 中的static Item: ListItem; 改成 static Item: typeof ListItem; 就能正常编译
Flex组件也是同样的问题
The text was updated successfully, but these errors were encountered: