1
This commit is contained in:
18
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/isLeapYear.d.ts
vendored
Normal file
18
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/isLeapYear.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 判断是否闰年
|
||||
* @param date 日期
|
||||
*/
|
||||
export declare function isLeapYear(date: Date | number | string): boolean;
|
||||
export declare function isLeapYear(date: any): boolean;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
/**
|
||||
* 判断是否闰年
|
||||
* @param date 日期
|
||||
*/
|
||||
isLeapYear: typeof isLeapYear;
|
||||
}
|
||||
}
|
||||
|
||||
export default isLeapYear
|
||||
Reference in New Issue
Block a user