UNPKG

371 BTypeScriptView Raw
1import { PluginFunc, ConfigType } from 'dayjs'
2
3declare const plugin: PluginFunc
4export = plugin
5
6declare module 'dayjs' {
7 interface Dayjs {
8
9 utc(keepLocalTime?: boolean): Dayjs
10
11 local(): Dayjs
12
13 isUTC(): boolean
14
15 utcOffset(offset: number, keepLocalTime?: boolean): Dayjs
16 }
17
18 export function utc(config?: ConfigType, format?: string): Dayjs
19}
20
\No newline at end of file