mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
15 lines
243 B
TypeScript
15 lines
243 B
TypeScript
import dayjs from "dayjs";
|
|
import weekOfYear from "dayjs/plugin/weekOfYear.js";
|
|
|
|
declare module "dayjs" {
|
|
interface Dayjs {
|
|
week(): number;
|
|
|
|
week(value: number): dayjs.Dayjs;
|
|
}
|
|
}
|
|
|
|
dayjs.extend(weekOfYear);
|
|
|
|
export { dayjs };
|