Skip to content

Commit d4b692a

Browse files
committed
fix(types): fix type of suppressErrorOutput to make result callable to restore console
1 parent 096282c commit d4b692a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/react.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export type ReactHooksRenderer = {
2626
cleanup: () => void
2727
addCleanup: (callback: CleanupCallback) => () => void
2828
removeCleanup: (callback: CleanupCallback) => void
29-
suppressErrorOutput: () => void
29+
suppressErrorOutput: () => () => void
3030
}
3131

3232
export * from '.'

0 commit comments

Comments
 (0)