You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I use both the <Template> and <Story> components, it would be great to be able to set the expected type of let:args.
Ex:
<scriptlang="ts">
import Choice from './Choice.svelte';
import choiceProps from './choiceProps.ts';
</script><Template let:argsid="ChoiceTemplate">// Ideally I would have the option to set that args has the choiceProps type<Choice{...args}/></Template><Storyid="ChoiceStory"name="Choice"template="ChoiceTemplate"args={{choiceText: 'Choice 1',value: 'choice-1',name: 'choice-1'}}// Same thing here/>
konstantinblaesi, Bluzzi, RomainSav, Unarray, canastro and 14 more