1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-25 20:13:57 +02:00

refactor(#10336): bind to local args

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-04-01 16:35:05 +09:00
parent 0960d61ce2
commit f39b5be064
14 changed files with 26 additions and 15 deletions

View File

@@ -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,