@types/yup
Advanced tools
Comparing version 0.26.20 to 0.26.21
@@ -514,5 +514,6 @@ // Type definitions for yup 0.26 | ||
type Id<T> = {[K in keyof T]: T[K]}; | ||
type RequiredProps<T> = Pick<T, Exclude<keyof T, KeyOfUndefined<T>>>; | ||
type NotRequiredProps<T> = Partial<Pick<T, KeyOfUndefined<T>>>; | ||
type InnerInferType<T> = NotRequiredProps<T> & RequiredProps<T>; | ||
type InnerInferType<T> = Id<NotRequiredProps<T> & RequiredProps<T>>; | ||
type InferredArrayType<T> = T extends Array<infer U> ? U : T; |
{ | ||
"name": "@types/yup", | ||
"version": "0.26.20", | ||
"version": "0.26.21", | ||
"description": "TypeScript definitions for yup", | ||
@@ -72,4 +72,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "0f86a92d4c270e6ad8cbf54d28de807f669833900b2e3efabb391438ce7a150c", | ||
"typesPublisherContentHash": "3f30661104b89d390683b253f4ea3738bd936082f7731dabc06ff37194d8529c", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 01 Jul 2019 19:46:03 GMT | ||
* Last updated: Mon, 08 Jul 2019 20:52:05 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
22382
465