diff --git a/lib/addons/src/types.ts b/lib/addons/src/types.ts index 9b25a91c2d05..64356f936dd8 100644 --- a/lib/addons/src/types.ts +++ b/lib/addons/src/types.ts @@ -273,14 +273,14 @@ export interface BaseMeta { subcomponents?: Record; } -type BaseStoryObject = { +export type BaseStoryObject = { /** * Override the display name in the UI */ storyName?: string; }; -type BaseStoryFn = { +export type BaseStoryFn = { (args: Args, context: StoryContext): StoryFnReturnType; } & BaseStoryObject;