diff --git a/packages/frontend/.storybook/generate.tsx b/packages/frontend/.storybook/generate.tsx index 62e84d149d..f501b02ab6 100644 --- a/packages/frontend/.storybook/generate.tsx +++ b/packages/frontend/.storybook/generate.tsx @@ -481,8 +481,19 @@ function toStories(component: string): string { - ) as estree.Identifier + + ) as estree.ThisExpression + } + property={ + ( + + ) as estree.Identifier + } + /> + ) as estree.MemberExpression } /> ) as estree.SpreadElement, diff --git a/packages/frontend/src/components/MkButton.stories.impl.ts b/packages/frontend/src/components/MkButton.stories.impl.ts index 228af8f919..e1c1c54d10 100644 --- a/packages/frontend/src/components/MkButton.stories.impl.ts +++ b/packages/frontend/src/components/MkButton.stories.impl.ts @@ -17,7 +17,7 @@ export const Default = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkA.stories.impl.ts b/packages/frontend/src/components/global/MkA.stories.impl.ts index 3afec7f81a..e17691ac61 100644 --- a/packages/frontend/src/components/global/MkA.stories.impl.ts +++ b/packages/frontend/src/components/global/MkA.stories.impl.ts @@ -18,7 +18,7 @@ export const Default = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkAcct.stories.impl.ts b/packages/frontend/src/components/global/MkAcct.stories.impl.ts index 61bf06f8a5..79d993decc 100644 --- a/packages/frontend/src/components/global/MkAcct.stories.impl.ts +++ b/packages/frontend/src/components/global/MkAcct.stories.impl.ts @@ -16,7 +16,7 @@ export const Default = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkAd.stories.impl.ts b/packages/frontend/src/components/global/MkAd.stories.impl.ts index 68f2995642..7d8a42a03c 100644 --- a/packages/frontend/src/components/global/MkAd.stories.impl.ts +++ b/packages/frontend/src/components/global/MkAd.stories.impl.ts @@ -18,7 +18,7 @@ const common = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkAvatar.stories.impl.ts b/packages/frontend/src/components/global/MkAvatar.stories.impl.ts index d83164ac5f..68fadfc1b8 100644 --- a/packages/frontend/src/components/global/MkAvatar.stories.impl.ts +++ b/packages/frontend/src/components/global/MkAvatar.stories.impl.ts @@ -16,7 +16,7 @@ const common = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkCustomEmoji.stories.impl.ts b/packages/frontend/src/components/global/MkCustomEmoji.stories.impl.ts index e91fc4e2ee..36ab85b579 100644 --- a/packages/frontend/src/components/global/MkCustomEmoji.stories.impl.ts +++ b/packages/frontend/src/components/global/MkCustomEmoji.stories.impl.ts @@ -15,7 +15,7 @@ export const Default = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkEmoji.stories.impl.ts b/packages/frontend/src/components/global/MkEmoji.stories.impl.ts index 5baa5c2c84..f9900375f7 100644 --- a/packages/frontend/src/components/global/MkEmoji.stories.impl.ts +++ b/packages/frontend/src/components/global/MkEmoji.stories.impl.ts @@ -15,7 +15,7 @@ export const Default = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkLoading.stories.impl.ts b/packages/frontend/src/components/global/MkLoading.stories.impl.ts index d240e6566e..ca2e14494d 100644 --- a/packages/frontend/src/components/global/MkLoading.stories.impl.ts +++ b/packages/frontend/src/components/global/MkLoading.stories.impl.ts @@ -15,7 +15,7 @@ export const Default = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.stories.impl.ts b/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.stories.impl.ts index 2464061694..f6811b6747 100644 --- a/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.stories.impl.ts +++ b/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.stories.impl.ts @@ -17,7 +17,7 @@ export const Default = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts b/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts index 2a37ef1a88..b23a1e3a02 100644 --- a/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts +++ b/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts @@ -15,7 +15,7 @@ export const Empty = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkTime.stories.impl.ts b/packages/frontend/src/components/global/MkTime.stories.impl.ts index fd8e874dc3..b72601b1ff 100644 --- a/packages/frontend/src/components/global/MkTime.stories.impl.ts +++ b/packages/frontend/src/components/global/MkTime.stories.impl.ts @@ -25,7 +25,7 @@ export const Empty = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkUrl.stories.impl.ts b/packages/frontend/src/components/global/MkUrl.stories.impl.ts index 06de1d3e90..2344c4851a 100644 --- a/packages/frontend/src/components/global/MkUrl.stories.impl.ts +++ b/packages/frontend/src/components/global/MkUrl.stories.impl.ts @@ -19,7 +19,7 @@ export const Default = { computed: { props() { return { - ...args, + ...this.args, }; }, }, diff --git a/packages/frontend/src/components/global/MkUserName.stories.impl.ts b/packages/frontend/src/components/global/MkUserName.stories.impl.ts index 37d895d042..41b1567a6f 100644 --- a/packages/frontend/src/components/global/MkUserName.stories.impl.ts +++ b/packages/frontend/src/components/global/MkUserName.stories.impl.ts @@ -18,7 +18,7 @@ export const Default = { computed: { props() { return { - ...args, + ...this.args, }; }, },