From aafe910812e66833cf2ec8da368e6129d6023194 Mon Sep 17 00:00:00 2001 From: iapyang Date: Fri, 26 Jul 2019 16:52:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/base.ts b/typescript/core/base.ts index f81b898767..26389d331d 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -361,7 +361,7 @@ export interface _base { isLeapYear: (year: number) => boolean; - checkDateVoid: (YY: string, MM: string, DD: string, minDate: string, maxDate: string) => (number|string)[]; + checkDateVoid: (YY: string | number, MM: string | number, DD: string | number, minDate: string, maxDate: string) => (number|string)[]; checkDateLegal: (str: string) => boolean;