-
Notifications
You must be signed in to change notification settings - Fork 0
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
No controls for extended props type #1
Comments
If change to type declaration without extend
output would be:
|
If change to interface declaration which extends type
output would be:
|
Moreover, props from base type are not inherited:
Output:
|
Oh, I see, it's planned: [TODO:](https://github.com/lukifer/ladlescoop#todo)
Recursive type imports and composable types |
ts-morph may be useful See my basic demo which lists inherited props declarations. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank, very helpful & cool solution!
Discovered some inconsistent behavior if I declare component properties as type which is extended from another type:
Result: no
.args
lines in result storyDemoFelaColorBlock.stories.tsx
:The text was updated successfully, but these errors were encountered: