@types/yup
Advanced tools
Comparing version 0.26.12 to 0.26.13
@@ -372,4 +372,15 @@ // Type definitions for yup 0.26 | ||
export interface FormatErrorParams { | ||
path: string; | ||
type: string; | ||
value?: any; | ||
originalValue?: any; | ||
} | ||
export type LocaleValue = | ||
| string | ||
| ((params: FormatErrorParams) => string); | ||
export interface LocaleObject { | ||
mixed?: { [key in keyof MixedSchema]?: string }; | ||
mixed?: { [key in keyof MixedSchema]?: string; } & { notType?: LocaleValue }; | ||
string?: { [key in keyof StringSchema]?: string }; | ||
@@ -376,0 +387,0 @@ number?: { [key in keyof NumberSchema]?: string }; |
{ | ||
"name": "@types/yup", | ||
"version": "0.26.12", | ||
"version": "0.26.13", | ||
"description": "TypeScript definitions for yup", | ||
@@ -62,4 +62,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "663ca8772441ec9a56d5bb1880a29b7eb083a82b5fa56639617fb53623933eca", | ||
"typesPublisherContentHash": "e29def703468600397f779542c3fb0164f0e11cfb6aaf51a29db793b5a70c5cc", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 09 Mar 2019 00:24:18 GMT | ||
* Last updated: Thu, 02 May 2019 21:13:23 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
17149
349