From 35b3e61931419965737105e6eea84f7458b20e8e Mon Sep 17 00:00:00 2001 From: Sanchit Agarwal Date: Thu, 7 Jan 2021 22:28:16 +0530 Subject: [PATCH] Update return type of unmount --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 3dcaf10c..8e0d1c02 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -22,7 +22,7 @@ export type RenderResult = { options?: prettyFormat.OptionsReceived, ) => void rerender: (ui: React.ReactElement) => void - unmount: () => boolean + unmount: () => void asFragment: () => DocumentFragment } & {[P in keyof Q]: BoundFunction}