Skip to content

Commit

Permalink
Make mount optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Jun 20, 2024
1 parent f96e3a9 commit 42a6edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export interface BaseAnnotations<TRenderer extends Renderer = Renderer, TArgs =
*/
tags?: Tag[];

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

0 comments on commit 42a6edc

Please sign in to comment.