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}