From 1fee6dde2704f42d5454529b6ee8e7a6f39fd96b Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 1 Oct 2022 19:09:52 +0800 Subject: [PATCH] More TS hackery --- code/renderers/vue/src/decorateStory.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/renderers/vue/src/decorateStory.ts b/code/renderers/vue/src/decorateStory.ts index b80370670478..534d525374b5 100644 --- a/code/renderers/vue/src/decorateStory.ts +++ b/code/renderers/vue/src/decorateStory.ts @@ -38,9 +38,10 @@ function prepare( return Vue.extend({ // @ts-expect-error // https://github.com/storybookjs/storybook/pull/7578#discussion_r307985279 [WRAPS]: story, - // @ts-expect-error // https://github.com/storybookjs/storybook/pull/7578#discussion_r307984824 [VALUES]: { + // @ts-expect-error // https://github.com/storybookjs/storybook/pull/7578#discussion_r307984824 ...(innerStory ? innerStory.options[VALUES] : {}), + // @ts-expect-error // https://github.com/storybookjs/storybook/pull/7578#discussion_r307984824 ...extractProps(story), ...(context?.args || {}), },