Browse Source

fix: 参数类型错误

es6
iapyang 5 years ago
parent
commit
aafe910812
  1. 2
      typescript/core/base.ts

2
typescript/core/base.ts

@ -361,7 +361,7 @@ export interface _base {
isLeapYear: (year: number) => boolean; 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; checkDateLegal: (str: string) => boolean;

Loading…
Cancel
Save