From ac0b317e22380e18867318c8002371ddc8ebd66e Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Thu, 16 Jan 2025 14:29:52 +0100 Subject: [PATCH] fix last type errors --- src/renderHookToSnapshotStream.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderHookToSnapshotStream.tsx b/src/renderHookToSnapshotStream.tsx index d29b034bf..c911232de 100644 --- a/src/renderHookToSnapshotStream.tsx +++ b/src/renderHookToSnapshotStream.tsx @@ -71,8 +71,9 @@ export async function renderHookToSnapshotStream( renderOptions, ) - function rerender(rerenderCallbackProps: Props) { - return baseRerender() + function rerender(rerenderCallbackProps: VoidOptionalArg) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment + return baseRerender() } return {