pluralGetSet.d.ts
666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { PluginFunc, UnitType, ConfigType } from 'dayjs'
declare const plugin: PluginFunc
export = plugin
declare module 'dayjs' {
interface Dayjs {
years(): number
years(value: number): Dayjs
months(): number
months(value: number): Dayjs
dates(): number
dates(value: number): Dayjs
weeks(): number
weeks(value: number): Dayjs
days(): number
days(value: number): Dayjs
hours(): number
hours(value: number): Dayjs
minutes(): number
minutes(value: number): Dayjs
seconds(): number
seconds(value: number): Dayjs
milliseconds(): number
milliseconds(value: number): Dayjs
}
}