diff --git a/app/server/src/client/preview/index.ts b/app/server/src/client/preview/index.ts index b8fcb3225399..3a40f147a589 100644 --- a/app/server/src/client/preview/index.ts +++ b/app/server/src/client/preview/index.ts @@ -4,12 +4,7 @@ import { ClientStoryApi, Loadable } from '@storybook/addons'; import './globals'; import render, { setFetchStoryHtml } from './render'; -import { - StoryFnServerReturnType, - IStorybookSection, - FetchStoryHtmlType, - ConfigureOptionsArgs, -} from './types'; +import { StoryFnServerReturnType, IStorybookSection, ConfigureOptionsArgs } from './types'; const framework = 'server'; diff --git a/app/server/src/client/preview/types.ts b/app/server/src/client/preview/types.ts index e33e686a8e5e..4b267c0256dc 100644 --- a/app/server/src/client/preview/types.ts +++ b/app/server/src/client/preview/types.ts @@ -19,6 +19,10 @@ export interface ShowErrorArgs { description: string; } +export interface ConfigureOptionsArgs { + fetchStoryHtml: FetchStoryHtmlType; +} + export interface RenderMainArgs { storyFn: () => StoryFn; id: string;