@types/yup
Advanced tools
Comparing version 0.29.0 to 0.29.1
@@ -645,6 +645,7 @@ // Type definitions for yup 0.29 | ||
type InnerInferType<T> = | ||
| (T extends Array<infer T> ? T[] : Id<NotRequiredProps<T> & RequiredProps<T>>) | ||
| (T extends Array<infer T> ? InnerInferTypeArray<T> : Id<NotRequiredProps<T> & RequiredProps<T>>) | ||
| PreserveOptionals<T>; | ||
interface InnerInferTypeArray<T> extends Array<InnerInferType<T>> {} | ||
type InferredArrayType<T> = T extends Array<infer U> ? U : T; | ||
/** If `T` is optional, returns optional `U`. */ | ||
type MaintainOptionality<T, U> = T extends undefined ? U | undefined : U; |
{ | ||
"name": "@types/yup", | ||
"version": "0.29.0", | ||
"version": "0.29.1", | ||
"description": "TypeScript definitions for yup", | ||
@@ -82,4 +82,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "bab01c61408b160554fa2339a93c2ffa3c7f1d196f3566bc87c8232c970a9f00", | ||
"typesPublisherContentHash": "4888d0d7598d673e353a02621f91fea1bfc6920b81c3d86c65406fb0f133a915", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 19 May 2020 20:54:56 GMT | ||
* Last updated: Sat, 30 May 2020 04:52:31 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
31781
579