minMaxTimePlugin.d.ts 491 Bytes
Newer Older
Joe TS Dell's avatar
Joe TS Dell committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Plugin } from "../types/options";
export interface MinMaxTime {
    minTime?: string;
    maxTime?: string;
}
export interface Config {
    table?: Record<string, MinMaxTime>;
    getTimeLimits?: (date: Date) => MinMaxTime;
    tableDateFormat?: string;
}
export interface State {
    formatDate: (date: Date, f: string) => string;
    tableDateFormat: string;
    defaults: MinMaxTime;
}
declare function minMaxTimePlugin(config?: Config): Plugin;
export default minMaxTimePlugin;