@types/yup
Advanced tools
Comparing version 0.29.7 to 0.29.8
@@ -252,8 +252,8 @@ // Type definitions for yup 0.29 | ||
// tslint:disable-next-line:no-unnecessary-generics | ||
<T extends Date | null | undefined = Date | undefined, C = object>(): DateSchema<T, C>; | ||
<T extends Date | string | null | undefined = Date | undefined, C = object>(): DateSchema<T, C>; | ||
// tslint:disable-next-line:no-unnecessary-generics | ||
new <T extends Date | null | undefined = Date | undefined, C = object>(): DateSchema<T, C>; | ||
new <T extends Date | string | null | undefined = Date | undefined, C = object>(): DateSchema<T, C>; | ||
} | ||
export interface DateSchema<T extends Date | null | undefined = Date | undefined, C = object> extends Schema<T, C> { | ||
export interface DateSchema<T extends Date | string | null | undefined = Date | undefined, C = object> extends Schema<T, C> { | ||
min(limit: Date | string | Ref, message?: DateLocale['min']): DateSchema<T, C>; | ||
@@ -260,0 +260,0 @@ max(limit: Date | string | Ref, message?: DateLocale['max']): DateSchema<T, C>; |
{ | ||
"name": "@types/yup", | ||
"version": "0.29.7", | ||
"version": "0.29.8", | ||
"description": "TypeScript definitions for yup", | ||
@@ -87,4 +87,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ce8ff165e8006dc39454102ce01c165bd27d8e8086ad3d08bc482671ff027ae6", | ||
"typesPublisherContentHash": "2b4e4734c843b28981570ca91b250d772ade6db575d3d18f598105bca196f348", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 11 Sep 2020 02:01:08 GMT | ||
* Last updated: Thu, 08 Oct 2020 02:40:56 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
34987