@types/joi
Advanced tools
Comparing version 10.3.1 to 10.3.2
@@ -171,2 +171,10 @@ // Type definitions for joi v10.3.0 | ||
/** | ||
* Validates a value using the schema and options. | ||
*/ | ||
validate<T>(value: T): ValidationResult<T>; | ||
validate<T>(value: T, options: ValidationOptions): ValidationResult<T>; | ||
validate<T, R>(value: T, callback: (err: ValidationError, value: T) => R): R; | ||
validate<T, R>(value: T, options: ValidationOptions, callback: (err: ValidationError, value: T) => R): R; | ||
/** | ||
* Whitelists a value | ||
@@ -173,0 +181,0 @@ */ |
{ | ||
"name": "@types/joi", | ||
"version": "10.3.1", | ||
"version": "10.3.2", | ||
"description": "TypeScript definitions for joi", | ||
@@ -44,4 +44,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "cce9ef7d65beeddf6bfb3f43e9b77f9fc487e7f962c3206305fa8cbafb06dca2", | ||
"typesPublisherContentHash": "6619024f4c504ec8c16edfa7fbcdadb1732fefb25297c75cf676ddef9db192b9", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 28 Apr 2017 18:01:59 GMT | ||
* Last updated: Wed, 03 May 2017 18:57:19 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
39911
896