diff --git a/src/renderHookToSnapshotStream.tsx b/src/renderHookToSnapshotStream.tsx index ecf62d382..d0d0fcb6f 100644 --- a/src/renderHookToSnapshotStream.tsx +++ b/src/renderHookToSnapshotStream.tsx @@ -61,7 +61,7 @@ export async function renderHookToSnapshotStream( renderOptions, ) - function rerender(rerenderCallbackProps: Props) { + function rerender(rerenderCallbackProps?: Props) { return baseRerender() }