/
githubmirror
/
dayjs
Обзор
Документация
Войти
/
githubmirror
/
dayjs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
types/plugin/utc.d.ts
19 строк
398 B
Nikita Orobenko
fix: update utcOffset plugin type file (#1604)
17 авг 2021, 07:57
Не верифицирован
17 авг 2021, 07:57
f68e4b1
Код
Авторство
О чём код?
import { PluginFunc, ConfigType } from 'dayjs' declare const plugin: PluginFunc export = plugin declare module 'dayjs' { interface Dayjs { utc(keepLocalTime?: boolean): Dayjs local(): Dayjs isUTC(): boolean utcOffset(offset: number | string, keepLocalTime?: boolean): Dayjs } export function utc(config?: ConfigType, format?: string, strict?: boolean): Dayjs }