We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0d4c6e commit de56f2cCopy full SHA for de56f2c
types/plugin/relativeTime.d.ts
@@ -1,13 +1,13 @@
1
-import { PluginFunc, DateType } from 'dayjs'
+import { PluginFunc, ConfigType } from 'dayjs'
2
3
declare const plugin: PluginFunc
4
export = plugin
5
6
declare module 'dayjs' {
7
interface Dayjs {
8
fromNow(withoutSuffix?: boolean): string
9
- from(compared: DateType, withoutSuffix?: boolean): string
+ from(compared: ConfigType, withoutSuffix?: boolean): string
10
toNow(withoutSuffix?: boolean): string
11
- to(compared: DateType, withoutSuffix?: boolean): string
+ to(compared: ConfigType, withoutSuffix?: boolean): string
12
}
13
0 commit comments