@types/prop-types
Advanced tools
Comparing version 15.7.1 to 15.7.2
@@ -34,3 +34,3 @@ // Type definitions for prop-types 15.7 | ||
export type IsOptional<T> = undefined | null extends T ? true : undefined extends T ? true : null extends T ? true : false; | ||
export type IsOptional<T> = undefined extends T ? true : false; | ||
@@ -43,3 +43,5 @@ export type RequiredKeys<V> = { [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer T> ? IsOptional<T> extends true ? never : K : never }[keyof V]; | ||
(props: object, propName: string, componentName: string, location: string, propFullName: string): Error | null; | ||
[nominalTypeHack]?: T; | ||
[nominalTypeHack]?: { | ||
type: T; | ||
}; | ||
} | ||
@@ -46,0 +48,0 @@ |
{ | ||
"name": "@types/prop-types", | ||
"version": "15.7.1", | ||
"version": "15.7.2", | ||
"description": "TypeScript definitions for prop-types", | ||
@@ -32,4 +32,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "428a2d0735bad0c54710672c573a150461a21fe06b7729a430a049a288c5d991", | ||
"typesPublisherContentHash": "86a8fcd8ebf476b3a22864cf401b22be2c81efc9e80c4a957664c912015f87ab", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for prop-types ( https://github.com/reactjs/prop-types ). | ||
This package contains type definitions for prop-types (https://github.com/reactjs/prop-types). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Wed, 17 Apr 2019 21:01:19 GMT | ||
* Last updated: Tue, 03 Sep 2019 22:10:12 GMT | ||
* Dependencies: none | ||
@@ -18,2 +18,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by DovydasNavickas <https://github.com/DovydasNavickas>, Ferdy Budhidharma <https://github.com/ferdaber>, Sebastian Silbermann <https://github.com/eps1lon>. | ||
These definitions were written by DovydasNavickas <https://github.com/DovydasNavickas>, Ferdy Budhidharma <https://github.com/ferdaber>, and Sebastian Silbermann <https://github.com/eps1lon>. |
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
78
6453