Skip to content

Commit

Permalink
MountReturn -> MountReturnType
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Jun 11, 2024
1 parent 471c890 commit ad22273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export type BeforeEach<TRenderer extends Renderer = Renderer, TArgs = Args> = (

// To be augmented by addons
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface MountReturn {}
export interface MountReturnType {}

export interface StoryContext<TRenderer extends Renderer = Renderer, TArgs = Args>
extends StoryContextForEnhancers<TRenderer, TArgs>,
Expand All @@ -273,7 +273,7 @@ export interface StoryContext<TRenderer extends Renderer = Renderer, TArgs = Arg
abortSignal: AbortSignal;
canvasElement: TRenderer['canvasElement'];
step: StepFunction<TRenderer, TArgs>;
mount(): Promise<MountReturn>;
mount(): Promise<MountReturnType>;
}

// eslint-disable-next-line @typescript-eslint/no-empty-interface
Expand Down

0 comments on commit ad22273

Please sign in to comment.