Skip to content

Commit

Permalink
Add MountReturn interface
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Jun 11, 2024
1 parent 75a24e6 commit 471c890
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,17 +388,15 @@ export type BaseAnnotations<TRenderer extends Renderer = Renderer, TArgs = Args>
tags?: Tag[];
};

export type ProjectAnnotations<
TRenderer extends Renderer = Renderer,
TArgs = Args
> = BaseAnnotations<TRenderer, TArgs> & {
export interface ProjectAnnotations<TRenderer extends Renderer = Renderer, TArgs = Args>
extends BaseAnnotations<TRenderer, TArgs> {
argsEnhancers?: ArgsEnhancer<TRenderer, Args>[];
argTypesEnhancers?: ArgTypesEnhancer<TRenderer, Args>[];
globals?: Globals;
globalTypes?: GlobalTypes;
applyDecorators?: DecoratorApplicator<TRenderer, Args>;
runStep?: StepRunner<TRenderer, TArgs>;
};
}

type StoryDescriptor = string[] | RegExp;
export interface ComponentAnnotations<TRenderer extends Renderer = Renderer, TArgs = Args>
Expand Down

0 comments on commit 471c890

Please sign in to comment.