UNPKG

226 BTypeScriptView Raw
1import { PluginFunc, ConfigType, OpUnitType } from 'dayjs'
2
3declare const plugin: PluginFunc
4export = plugin
5
6declare module 'dayjs' {
7 interface Dayjs {
8 isSameOrBefore(date: ConfigType, unit?: OpUnitType): boolean
9 }
10}