mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Add unmount method
This commit is contained in:
Vendored
+2
-1
@@ -1,6 +1,6 @@
|
||||
// Type definitions for react-test-renderer 15.4
|
||||
// Project: https://facebook.github.io/react/
|
||||
// Definitions by: Arvitaly <https://github.com/arvitaly>
|
||||
// Definitions by: Arvitaly <https://github.com/arvitaly>, Lochbrunner <https://github.com/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;
|
||||
|
||||
Reference in New Issue
Block a user