Shorten the Meta Template for Angular? #24510
fireflysemantics
started this conversation in
Ideas
Replies: 1 comment
-
Since Typescript is compiled down to Javascript, there aren't any type information during runtime. Therefore, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
I'm curious if it's possible to shorten the
Meta
declaration for Standalone Angular component stories.Here's an example declaration:
And it seems the
render
anddecorators
blocks are redundant (Unless they are customized more) since the generic typeElFlipContainerStoryComponent
is all the information needed to create these blocks.Describe the solution you'd like
It would be nice if all we had to do is declare this.
And Storybook would use the generic type
ElFlipContainerStoryComponent
to construct the rest of theMeta
object as needed.Describe alternatives you've considered
Just filling in the whole thing for now ...
Are you able to assist to bring the feature to reality?
no
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions