Skip to content

Commit 1389f09

Browse files
sanchit121Sanchit Agarwal
and
Sanchit Agarwal
authored
fix: Return type of unmount is void (#857)
Co-authored-by: Sanchit Agarwal <[email protected]>
1 parent 64a8b9c commit 1389f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export type RenderResult<Q extends Queries = typeof queries> = {
2222
options?: prettyFormat.OptionsReceived,
2323
) => void
2424
rerender: (ui: React.ReactElement) => void
25-
unmount: () => boolean
25+
unmount: () => void
2626
asFragment: () => DocumentFragment
2727
} & {[P in keyof Q]: BoundFunction<Q[P]>}
2828

0 commit comments

Comments
 (0)