1 | import { PluginFunc, ConfigType, QUnitType, OpUnitType } from 'dayjs/esm'
|
2 |
|
3 | declare const plugin: PluginFunc
|
4 | export = plugin
|
5 |
|
6 | declare module 'dayjs/esm' {
|
7 | interface Dayjs {
|
8 | quarter(): number
|
9 |
|
10 | quarter(quarter: number): Dayjs
|
11 |
|
12 | add(value: number, unit: QUnitType): Dayjs
|
13 |
|
14 | subtract(value: number, unit: QUnitType): Dayjs
|
15 |
|
16 | startOf(unit: QUnitType | OpUnitType): Dayjs
|
17 |
|
18 | endOf(unit: QUnitType | OpUnitType): Dayjs
|
19 |
|
20 | isSame(date?: ConfigType, unit?: QUnitType): boolean
|
21 |
|
22 | isBefore(date?: ConfigType, unit?: QUnitType): boolean
|
23 |
|
24 | isAfter(date?: ConfigType, unit?: QUnitType): boolean
|
25 | }
|
26 | }
|