[Bug] Error when Story name
is same as component import specifier
#250
Labels
next
Related to the next version
name
is same as component import specifier
#250
Describe the bug
Discord thread
What is happening:
In the appendix of compiled out of Svelte component, we're creating export variable declarations whose names are based on the
name
prop in each<Story>
.We didn't cover the case when Story name could re-declare the import specifier of the component.
Steps to reproduce the behavior
Define a
<Story>
withname
prop having the same as component import declaration.The text was updated successfully, but these errors were encountered: