@types/joi
Advanced tools
Comparing version 13.3.0 to 13.4.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for joi v13.3.0 | ||
// Type definitions for joi v13.4.0 | ||
// Project: https://github.com/hapijs/joi | ||
@@ -756,4 +756,7 @@ // Definitions by: Bart van der Schoor <https://github.com/Bartvds> | ||
* Specify validation rules for unknown keys matching a pattern. | ||
* | ||
* @param pattern - a pattern that can be either a regular expression or a joi schema that will be tested against the unknown key names | ||
* @param schema - the schema object matching keys must validate against | ||
*/ | ||
pattern(regex: RegExp, schema: SchemaLike): this; | ||
pattern(pattern: RegExp | SchemaLike, schema: SchemaLike): this; | ||
@@ -760,0 +763,0 @@ /** |
{ | ||
"name": "@types/joi", | ||
"version": "13.3.0", | ||
"version": "13.4.0", | ||
"description": "TypeScript definitions for joi", | ||
@@ -80,4 +80,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "acacd4363b65810e892470f25d849e76bad9db895c60065825ca7c7db88f47a7", | ||
"typesPublisherContentHash": "a7bf55901122518cef56fd628254b49ab6f05bc8728238d05c411ad46eb24bed", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 16 Jun 2018 01:35:09 GMT | ||
* Last updated: Sat, 14 Jul 2018 01:02:00 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
47431
1083