/
githubmirror
/
dayjs
Обзор
Документация
Войти
/
githubmirror
/
dayjs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
types/plugin/isBetween.d.ts
10 строк
268 B
henry
fix: parameter type (#1549)
28 июн 2021, 09:30
Не верифицирован
28 июн 2021, 09:30
f369844
Код
Авторство
О чём код?
import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' declare const plugin: PluginFunc export = plugin declare module 'dayjs' { interface Dayjs { isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: '()' | '[]' | '[)' | '(]'): boolean } }