11 lines
216 B
TypeScript
Raw Normal View History

2024-11-05 10:09:18 +08:00
import { PluginFunc, ConfigType } from 'dayjs'
declare const plugin: PluginFunc
export = plugin
declare module 'dayjs' {
interface Dayjs {
calendar(referenceTime?: ConfigType, formats?: object): string
}
}