@types/prop-types
Advanced tools
Comparing version 15.5.2 to 15.5.3
@@ -31,1 +31,13 @@ // Type definitions for prop-types 15.5 | ||
export function shape(type: ValidationMap<any>): Requireable<any>; | ||
/** | ||
* Assert that the values match with the type specs. | ||
* Error messages are memorized and will only be shown once. | ||
* | ||
* @param typeSpecs Map of name to a ReactPropType | ||
* @param values Runtime values that need to be type-checked | ||
* @param location e.g. "prop", "context", "child context" | ||
* @param componentName Name of the component for error messages. | ||
* @param getStack Returns the component stack. | ||
*/ | ||
export function checkPropTypes(typeSpecs: any, values: any, location: string, componentName: string, getStack?: () => any): void; |
{ | ||
"name": "@types/prop-types", | ||
"version": "15.5.2", | ||
"version": "15.5.3", | ||
"description": "TypeScript definitions for prop-types", | ||
@@ -16,8 +16,8 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "748b5132d8aa5bde37793fb3f35cbfb48c339c4631dab0f33e4ae973c6744688", | ||
"typesPublisherContentHash": "c3d2dc452a5a81f10532428317a08162159119681bf0543ccda9cf3bda43bada", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prop-types | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/prop-types | ||
Additional Details | ||
* Last updated: Tue, 26 Sep 2017 00:11:47 GMT | ||
* Last updated: Fri, 18 May 2018 20:19:36 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
4159
37
1