We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20601bc commit e1cb39dCopy full SHA for e1cb39d
src/renderHookToSnapshotStream.tsx
@@ -41,7 +41,7 @@ export interface SnapshotStream<Snapshot, Props> extends Assertable {
41
* Does not advance the render iterator.
42
*/
43
waitForNextSnapshot(options?: NextRenderOptions): Promise<Snapshot>
44
- rerender: (rerenderCallbackProps: Props) => void
+ rerender: (rerenderCallbackProps: Props) => Promise<void>
45
unmount: () => void
46
}
47
0 commit comments