[Vue] Add type inference for Story
and Variant
slots item state
, based on initState
#622
Closed
4 tasks done
Labels
enhancement: to triage
New feature of request pending review by team member
Clear and concise description of the problem
As a developer using Histoire I want to add generic type inference to
Story
andVariant
components so that when theinitState
property is specified, it is reflected into bothdefault
andcontrols
slot itemsstate
property.(while preserving the default type of
any
orRecord<string, any>
ifinitState
is not specified)PR: #623
Suggested solution
PR: #623
Alternative
/
Additional context
Validations
The text was updated successfully, but these errors were encountered: