getYearWeek.d.ts 286 B

12345678910111213
  1. /**
  2. * 返回某个年份的第几周
  3. * @param date 字符串/日期/时间戳
  4. */
  5. export declare function getYearWeek(date: string | Date | number): number;
  6. declare module './ctor' {
  7. interface XEUtilsMethods {
  8. getYearWeek: typeof getYearWeek;
  9. }
  10. }
  11. export default getYearWeek