@types/yup
Advanced tools
Comparing version 0.26.31 to 0.26.32
@@ -249,2 +249,5 @@ // Type definitions for yup 0.26 | ||
export interface ObjectSchema<T extends object | null | undefined = object> extends Schema<T> { | ||
fields: { | ||
[k in keyof T]: Schema<T[k]> | ||
}; | ||
shape<U extends object>( | ||
@@ -375,3 +378,3 @@ fields: ObjectSchemaDefinition<U>, | ||
meta: object; | ||
tests: Array<{ name: string; params: object }>; | ||
tests: Array<{ name: string; params: { [k: string]: any } }>; | ||
fields: Record<string, SchemaFieldDescription>; | ||
@@ -378,0 +381,0 @@ } |
{ | ||
"name": "@types/yup", | ||
"version": "0.26.31", | ||
"version": "0.26.32", | ||
"description": "TypeScript definitions for yup", | ||
@@ -72,4 +72,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "99ea2272708040ed98b5f4d613312db333fec93907c28d69a9f41c3b100d8313", | ||
"typesPublisherContentHash": "946c1c46d014cfaf6c8abc0d1f4f6209c2db1c6bb361099ad3653c571fa600a3", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 14 Feb 2020 17:26:56 GMT | ||
* Last updated: Tue, 18 Feb 2020 21:30:07 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
23945
456