Skip to content

Commit e1cb39d

Browse files
committed
update type
1 parent 20601bc commit e1cb39d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderHookToSnapshotStream.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface SnapshotStream<Snapshot, Props> extends Assertable {
4141
* Does not advance the render iterator.
4242
*/
4343
waitForNextSnapshot(options?: NextRenderOptions): Promise<Snapshot>
44-
rerender: (rerenderCallbackProps: Props) => void
44+
rerender: (rerenderCallbackProps: Props) => Promise<void>
4545
unmount: () => void
4646
}
4747

0 commit comments

Comments
 (0)