11 lines
235 B
TypeScript
11 lines
235 B
TypeScript
import { PluginFunc, ConfigType, OpUnitType } from 'dayjs/esm'
|
|
|
|
declare const plugin: PluginFunc
|
|
export = plugin
|
|
|
|
declare module 'dayjs/esm' {
|
|
interface Dayjs {
|
|
isSameOrBefore(date?: ConfigType, unit?: OpUnitType): boolean
|
|
}
|
|
}
|