@types/enzyme
Advanced tools
Comparing version 3.9.2 to 3.9.3
@@ -13,2 +13,3 @@ // Type definitions for Enzyme 3.9 | ||
// Mateusz Sokoła <https://github.com/mateuszsokola> | ||
// Braiden Cutforth <https://github.com/braidencutforth> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -258,3 +259,3 @@ // TypeScript Version: 3.1 | ||
*/ | ||
setProps<K extends keyof P>(props: Pick<P, K>): this; | ||
setProps<K extends keyof P>(props: Pick<P, K>, callback?: () => void): this; | ||
@@ -562,14 +563,2 @@ /** | ||
parent(): ReactWrapper<any, any>; | ||
/** | ||
* A method that sets the props of the root component, and re-renders. Useful for when you are wanting to test | ||
* how the component behaves over time with changing props. Calling this, for instance, will call the | ||
* componentWillReceiveProps lifecycle method. | ||
* | ||
* Similar to setState, this method accepts a props object and will merge it in with the already existing props. | ||
* Returns itself. | ||
* | ||
* NOTE: can only be called on a wrapper instance that is also the root instance. | ||
*/ | ||
setProps<K extends keyof P>(props: Pick<P, K>, callback?: () => void): this; | ||
} | ||
@@ -576,0 +565,0 @@ |
{ | ||
"name": "@types/enzyme", | ||
"version": "3.9.2", | ||
"version": "3.9.3", | ||
"description": "TypeScript definitions for Enzyme", | ||
@@ -55,2 +55,7 @@ "license": "MIT", | ||
"githubUsername": "mateuszsokola" | ||
}, | ||
{ | ||
"name": "Braiden Cutforth", | ||
"url": "https://github.com/braidencutforth", | ||
"githubUsername": "braidencutforth" | ||
} | ||
@@ -70,4 +75,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "fae42dbcfce8d009e06b464e4981714b2b4f5873157aae8fd647f2ae7a09b8a9", | ||
"typesPublisherContentHash": "a63435f95d2e28707398f2b9c884cc7c3745da8e1b630f942ebe69b89aa475db", | ||
"typeScriptVersion": "3.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 13 May 2019 16:48:49 GMT | ||
* Last updated: Fri, 24 May 2019 17:01:27 GMT | ||
* Dependencies: @types/react, @types/cheerio | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>, huhuanming <https://github.com/huhuanming>, MartynasZilinskas <https://github.com/MartynasZilinskas>, Torgeir Hovden <https://github.com/thovden>, Martin Hochel <https://github.com/hotell>, Christian Rackerseder <https://github.com/screendriver>, Mateusz Sokoła <https://github.com/mateuszsokola>. | ||
These definitions were written by Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>, huhuanming <https://github.com/huhuanming>, MartynasZilinskas <https://github.com/MartynasZilinskas>, Torgeir Hovden <https://github.com/thovden>, Martin Hochel <https://github.com/hotell>, Christian Rackerseder <https://github.com/screendriver>, Mateusz Sokoła <https://github.com/mateuszsokola>, Braiden Cutforth <https://github.com/braidencutforth>. |
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
29308
541