deno.land / x / dayjs@v1.11.5 / types / plugin / isoWeek.d.ts
12345678910111213141516171819202122232425262728import { PluginFunc, OpUnitType, ConfigType } from 'dayjs'
declare const plugin: PluginFuncexport = plugin
type ISOUnitType = OpUnitType | 'isoWeek';
declare module 'dayjs' { interface Dayjs { isoWeekYear(): number isoWeek(): number isoWeek(value: number): Dayjs
isoWeekday(): number isoWeekday(value: number): Dayjs
startOf(unit: ISOUnitType): Dayjs
endOf(unit: ISOUnitType): Dayjs
isSame(date: ConfigType, unit?: ISOUnitType): boolean
isBefore(date: ConfigType, unit?: ISOUnitType): boolean
isAfter(date: ConfigType, unit?: ISOUnitType): boolean }}
Version Info