Skip to content

Commit

Permalink
Fix base annotation type
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Jun 21, 2024
1 parent 9f56778 commit b332918
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,7 @@ export interface BaseAnnotations<TRenderer extends Renderer = Renderer, TArgs =
*/
tags?: Tag[];

mount?: (
context: StoryContext<TRenderer, TArgs>
) => () => Promise<StoryContext<TRenderer, TArgs>['canvas']>;
mount?: (context: StoryContext<TRenderer, TArgs>) => TRenderer['mount'];
}

export interface ProjectAnnotations<TRenderer extends Renderer = Renderer, TArgs = Args>
Expand Down

0 comments on commit b332918

Please sign in to comment.