Skip to content

Commit 35b3e61

Browse files
Sanchit AgarwalSanchit Agarwal
Sanchit Agarwal
authored and
Sanchit Agarwal
committed
Update return type of unmount
1 parent 64a8b9c commit 35b3e61

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)