1
This commit is contained in:
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/getDayOfMonth.d.ts
vendored
Normal file
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/getDayOfMonth.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 返回某个月份的天数,可以指定前几个月或后几个月,默认当前
|
||||
* @param date 字符串/日期/时间戳
|
||||
* @param offset 月偏移量(默认0)、前几个月、后几个月
|
||||
*/
|
||||
export declare function getDayOfMonth(date: string | Date | number, offset: number): number;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
getDayOfMonth: typeof getDayOfMonth;
|
||||
}
|
||||
}
|
||||
|
||||
export default getDayOfMonth
|
||||
Reference in New Issue
Block a user