diff --git a/types/react-test-renderer/index.d.ts b/types/react-test-renderer/index.d.ts index cb709587fc..43636445cb 100644 --- a/types/react-test-renderer/index.d.ts +++ b/types/react-test-renderer/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for react-test-renderer 15.4 // Project: https://facebook.github.io/react/ -// Definitions by: Arvitaly +// Definitions by: Arvitaly , Lochbrunner // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -8,6 +8,7 @@ import { ReactElement } from "react"; export interface Renderer { toJSON(): ReactTestRendererJSON; + unmount(nextElement: any): void; } export interface ReactTestRendererJSON { type: string;