Skip to content

Commit

Permalink
update type
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Dec 2, 2024
1 parent 20601bc commit e1cb39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderHookToSnapshotStream.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface SnapshotStream<Snapshot, Props> extends Assertable {
* Does not advance the render iterator.
*/
waitForNextSnapshot(options?: NextRenderOptions): Promise<Snapshot>
rerender: (rerenderCallbackProps: Props) => void
rerender: (rerenderCallbackProps: Props) => Promise<void>
unmount: () => void
}

Expand Down

0 comments on commit e1cb39d

Please sign in to comment.