@types/yup
Advanced tools
Comparing version 0.24.8 to 0.24.9
@@ -58,3 +58,3 @@ // Type definitions for yup 0.24 | ||
when(keys: string | any[], builder: WhenOptions<this>): this; | ||
test(name: string, message: string, test: (this: TestContext, value?: any) => boolean | Promise<boolean>, callbackStyleAsync?: boolean): this; | ||
test(name: string, message: string, test: (this: TestContext, value?: any) => boolean | ValidationError | Promise<boolean | ValidationError>, callbackStyleAsync?: boolean): this; | ||
test(options: TestOptions): this; | ||
@@ -206,3 +206,3 @@ transform(fn: TransformFunction<this>): this; | ||
*/ | ||
test: (this: TestContext, value: any) => boolean | Promise<boolean>; | ||
test: (this: TestContext, value: any) => boolean | ValidationError | Promise<boolean | ValidationError>; | ||
@@ -209,0 +209,0 @@ /** |
{ | ||
"name": "@types/yup", | ||
"version": "0.24.8", | ||
"version": "0.24.9", | ||
"description": "TypeScript definitions for yup", | ||
@@ -35,4 +35,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "1c1e1c8ddd7aeb3fa55c7899d39756d1566a7c68d52dea66dfab1bc242ec8140", | ||
"typesPublisherContentHash": "ff700ffe5d56b72c3f8f064cf137d7933973e201523a57da2b21b8192b4cbef2", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 14 Aug 2018 00:52:13 GMT | ||
* Last updated: Thu, 16 Aug 2018 23:20:57 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
11939