@types/joi
Advanced tools
Comparing version 13.0.4 to 13.0.5
@@ -12,2 +12,3 @@ // Type definitions for joi v13.0.1 | ||
// Dan Kraus <https://github.com/dankraus> | ||
// Anjun Wang <https://github.com/wanganjun> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -189,3 +190,3 @@ // TypeScript Version: 2.4 | ||
export interface ValidationResult<T> { | ||
export interface ValidationResult<T> extends Pick<Promise<T>, 'then' | 'catch'> { | ||
error: ValidationError; | ||
@@ -192,0 +193,0 @@ value: T; |
{ | ||
"name": "@types/joi", | ||
"version": "13.0.4", | ||
"version": "13.0.5", | ||
"description": "TypeScript definitions for joi", | ||
@@ -51,2 +51,7 @@ "license": "MIT", | ||
"githubUsername": "dankraus" | ||
}, | ||
{ | ||
"name": "Anjun Wang", | ||
"url": "https://github.com/wanganjun", | ||
"githubUsername": "wanganjun" | ||
} | ||
@@ -61,4 +66,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "864551710eae83c9ccac2049c9ee716a837195d7a741b68e9b33461e747e1728", | ||
"typesPublisherContentHash": "4e437957022ff930c60b3b921527f0a52d2d8516771655191df5b71cb61f0018", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 03 Jan 2018 08:11:18 GMT | ||
* Last updated: Thu, 11 Jan 2018 21:51:19 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Bart van der Schoor <https://github.com/Bartvds>, Laurence Dougal Myers <https://github.com/laurence-myers>, Christopher Glantschnig <https://github.com/cglantschnig>, David Broder-Rodgers <https://github.com/DavidBR-SW>, Gael Magnan de Bornier <https://github.com/GaelMagnan>, Rytis Alekna <https://github.com/ralekna>, Pavel Ivanov <https://github.com/schfkt>, Youngrok Kim <https://github.com/rokoroku>, Dan Kraus <https://github.com/dankraus>. | ||
These definitions were written by Bart van der Schoor <https://github.com/Bartvds>, Laurence Dougal Myers <https://github.com/laurence-myers>, Christopher Glantschnig <https://github.com/cglantschnig>, David Broder-Rodgers <https://github.com/DavidBR-SW>, Gael Magnan de Bornier <https://github.com/GaelMagnan>, Rytis Alekna <https://github.com/ralekna>, Pavel Ivanov <https://github.com/schfkt>, Youngrok Kim <https://github.com/rokoroku>, Dan Kraus <https://github.com/dankraus>, Anjun Wang <https://github.com/wanganjun>. |
44899
1039