From e1cb39d6a2aad261f4dc9ed1c4fc691d5935e3e1 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Mon, 2 Dec 2024 16:32:40 +0100 Subject: [PATCH] update type --- src/renderHookToSnapshotStream.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderHookToSnapshotStream.tsx b/src/renderHookToSnapshotStream.tsx index 258ad470b..ecf62d382 100644 --- a/src/renderHookToSnapshotStream.tsx +++ b/src/renderHookToSnapshotStream.tsx @@ -41,7 +41,7 @@ export interface SnapshotStream extends Assertable { * Does not advance the render iterator. */ waitForNextSnapshot(options?: NextRenderOptions): Promise - rerender: (rerenderCallbackProps: Props) => void + rerender: (rerenderCallbackProps: Props) => Promise unmount: () => void }