@types/yup
Advanced tools
Comparing version 0.29.10 to 0.29.11
@@ -417,4 +417,5 @@ // Type definitions for yup 0.29 | ||
value: T, | ||
context: TestContext<C> | ||
) => boolean | ValidationError | Promise<boolean | ValidationError>; | ||
export type AssertingTestFunction<T, C> = (this: TestContext<C>, value: any) => value is T; | ||
export type AssertingTestFunction<T, C> = (this: TestContext<C>, value: any, context: TestContext<C>) => value is T; | ||
@@ -447,2 +448,3 @@ export type TransformFunction<T> = (this: T, value: any, originalValue: any) => any; | ||
schema: Schema<any, C>; | ||
originalValue: any; | ||
resolve: (value: any) => any; | ||
@@ -449,0 +451,0 @@ createError: (params?: { path?: string; message?: string; params?: object }) => ValidationError; |
{ | ||
"name": "@types/yup", | ||
"version": "0.29.10", | ||
"version": "0.29.11", | ||
"description": "TypeScript definitions for yup", | ||
@@ -92,4 +92,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "60858017c568bf26ba69329acfa9fdbfb6b2c587038d4d4062a21f4959cf7145", | ||
"typesPublisherContentHash": "d2bf15042d2d564e638bedae917e57d92c57a801c40dab6ea74c44da09c4cb68", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 03 Dec 2020 11:35:43 GMT | ||
* Last updated: Wed, 16 Dec 2020 15:11:37 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
35390
632