We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b3c1f2 commit c508b17Copy full SHA for c508b17
types/plugin/utc.d.ts
@@ -1,19 +1,19 @@
1
-import { PluginFunc, ConfigType } from 'dayjs'
+import { PluginFunc, ConfigType, OptionType } from 'dayjs'
2
3
declare const plugin: PluginFunc
4
export = plugin
5
6
declare module 'dayjs' {
7
interface Dayjs {
8
-
+
9
utc(keepLocalTime?: boolean): Dayjs
10
11
local(): Dayjs
12
13
isUTC(): boolean
14
15
utcOffset(offset: number | string, keepLocalTime?: boolean): Dayjs
16
}
17
18
- export function utc(config?: ConfigType, format?: string, strict?: boolean): Dayjs
+ export function utc(config?: ConfigType, format?: dayjs.OptionType, strict?: boolean): Dayjs
19
0 commit comments