forked from flatpickr/flatpickr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
38 lines (33 loc) · 1015 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { FlatpickrFn } from "./dist/types/instance";
import { Instance as _Instance } from "./dist/types/instance";
import {
Options as _Options,
Hook as _Hook,
HookKey as _HookKey,
ParsedOptions as _ParsedOptions,
DateLimit as _DateLimit,
DateOption as _DateOption,
DateRangeLimit as _DateRangeLimit,
Plugin as _Plugin,
} from "./dist/types/options";
import {
Locale as _Locale,
CustomLocale as _CustomLocale,
} from "./dist/types/locale";
declare var flatpickr: FlatpickrFn;
declare namespace flatpickr {
export type Instance = _Instance;
export type CustomLocale = _CustomLocale;
export type Locale = _Locale;
export namespace Options {
export type Options = _Options;
export type Hook = _Hook;
export type HookKey = _HookKey;
export type ParsedOptions = _ParsedOptions;
export type DateLimit = _DateLimit;
export type DateOption = _DateOption;
export type DateRangeLimit = _DateRangeLimit;
export type Plugin = _Plugin;
}
}
export = flatpickr;