@types/react-test-renderer
Advanced tools
Comparing version 15.5.1 to 15.5.2
@@ -9,5 +9,7 @@ // Type definitions for react-test-renderer 15.5 | ||
export interface Renderer { | ||
export interface ReactTestInstance { | ||
toJSON(): ReactTestRendererJSON; | ||
unmount(nextElement?: ReactElement<any>): void; | ||
update(nextElement: ReactElement<any>): void; | ||
getInstance(): any; | ||
} | ||
@@ -24,2 +26,2 @@ export interface ReactTestRendererJSON { | ||
// https://github.com/facebook/react/blob/master/src/renderers/testing/ReactTestMount.js#L155 | ||
export function create(nextElement: ReactElement<any>, options?: TestRendererOptions): Renderer; | ||
export function create(nextElement: ReactElement<any>, options?: TestRendererOptions): ReactTestInstance; |
{ | ||
"name": "@types/react-test-renderer", | ||
"version": "15.5.1", | ||
"version": "15.5.2", | ||
"description": "TypeScript definitions for react-test-renderer", | ||
@@ -34,4 +34,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "c42368e976942f59b477f4ed789cc97d40972f13cc9b2861f1212c10a789547c", | ||
"typesPublisherContentHash": "1c84882f89469795763e8250ecfbea351a14b937613d6286b3c726bb17d87386", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 23 Jun 2017 17:37:55 GMT | ||
* Last updated: Tue, 18 Jul 2017 13:54:28 GMT | ||
* Dependencies: react | ||
@@ -14,0 +14,0 @@ * Global values: none |
@@ -0,0 +0,0 @@ import { ReactElement } from 'react'; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4696
43