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
Property types don't show up #1551
Comments
I have the same issue. version is Here is my sandbox. |
Feel free to send a pull request with a fix 👾 |
In my case, there are 2 issues.
The type of this component will not parse anything. export const Button: React.FC<ButtonProps> = props => {
// ...
} But this component can parse. export function Button(props: ButtonProps) {
// ...
} It might be an issue or limitation for
|
@sapegin I am working on it. 😉 |
@sapegin I want to hear your opinion. I am wondering how to display types in the UI for TypeScript. ex) If type is something like:
Old version:
New version:
Since I've been looking at the old version for a long time, the new version of the result feels a bit difficult to use. but it has an inconsistency for the result of so should I keep the way for |
🎉 This issue has been resolved in version 11.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
After upgrading to latest styleguidist (the one with native TS support) property types stopped showing up
Current behavior
With react-docgen-typescript you could see property types
To reproduce
Try to use react-styleguidist with TS
Expected behavior
You should be able to see property types
The text was updated successfully, but these errors were encountered: