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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I'm curious if it's possible to shorten the
Metadeclaration for Standalone Angular component stories.Here's an example declaration:
And it seems the
renderanddecoratorsblocks are redundant (Unless they are customized more) since the generic typeElFlipContainerStoryComponentis 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
ElFlipContainerStoryComponentto construct the rest of theMetaobject 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