@types/yup
Advanced tools
Comparing version 0.26.29 to 0.26.30
@@ -354,2 +354,18 @@ // Type definitions for yup 0.26 | ||
export interface SchemaFieldRefDescription { | ||
type: 'ref'; | ||
key: string; | ||
} | ||
export interface SchemaFieldInnerTypeDescription extends Pick< | ||
SchemaDescription, Exclude<keyof SchemaDescription, 'fields'> | ||
> { | ||
innerType?: SchemaFieldDescription; | ||
} | ||
export type SchemaFieldDescription = | ||
| SchemaDescription | ||
| SchemaFieldRefDescription | ||
| SchemaFieldInnerTypeDescription; | ||
export interface SchemaDescription { | ||
@@ -360,3 +376,3 @@ type: string; | ||
tests: Array<{ name: string; params: object }>; | ||
fields: object; | ||
fields: Record<string, SchemaFieldDescription>; | ||
} | ||
@@ -363,0 +379,0 @@ |
{ | ||
"name": "@types/yup", | ||
"version": "0.26.29", | ||
"version": "0.26.30", | ||
"description": "TypeScript definitions for yup", | ||
@@ -72,4 +72,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f706bd7aac0a7a0c468505b83b3f28aa22637ade0ca472b49e6d682a402d90fd", | ||
"typesPublisherContentHash": "84afae06c3116b94efa96e5a3b383c00e1036ab18e369551928a4410898a0e2e", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 28 Jan 2020 19:49:58 GMT | ||
* Last updated: Wed, 05 Feb 2020 16:49:44 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
23830
453