refactor(#10336): bind to local args
This commit is contained in:
@@ -481,8 +481,19 @@ function toStories(component: string): string {
|
||||
<spread-element
|
||||
argument={
|
||||
(
|
||||
<identifier name='args' />
|
||||
) as estree.Identifier
|
||||
<member-expression
|
||||
object={
|
||||
(
|
||||
<this-expression />
|
||||
) as estree.ThisExpression
|
||||
}
|
||||
property={
|
||||
(
|
||||
<identifier name='args' />
|
||||
) as estree.Identifier
|
||||
}
|
||||
/>
|
||||
) as estree.MemberExpression
|
||||
}
|
||||
/>
|
||||
) as estree.SpreadElement,
|
||||
|
Reference in New Issue
Block a user