Skip to content

Commit

Permalink
fix: Return type of unmount is void (#857)
Browse files Browse the repository at this point in the history
Co-authored-by: Sanchit Agarwal <sanchitagarwal@Sanchits-MacBook-Pro.local>
  • Loading branch information
sanchit121 and Sanchit Agarwal authored Jan 7, 2021
1 parent 64a8b9c commit 1389f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type RenderResult<Q extends Queries = typeof queries> = {
options?: prettyFormat.OptionsReceived,
) => void
rerender: (ui: React.ReactElement) => void
unmount: () => boolean
unmount: () => void
asFragment: () => DocumentFragment
} & {[P in keyof Q]: BoundFunction<Q[P]>}

Expand Down

0 comments on commit 1389f09

Please sign in to comment.