Skip to content

Commit

Permalink
Mount in play function context
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed May 30, 2024
1 parent 81a58c9 commit 459d398
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export type PlayFunctionContext<TRenderer extends Renderer = Renderer, TArgs = A
TArgs
> & {
step: StepFunction<TRenderer, TArgs>;
mount: () => Promise<void>;
};

export type PlayFunction<TRenderer extends Renderer = Renderer, TArgs = Args> = (
Expand Down

0 comments on commit 459d398

Please sign in to comment.