1 | import { Options } from "./options";
|
2 | import { Instance, FlatpickrFn } from "./instance";
|
3 | declare global {
|
4 | interface HTMLElement {
|
5 | flatpickr: (config?: Options) => Instance;
|
6 | _flatpickr?: Instance;
|
7 | }
|
8 | interface NodeList {
|
9 | flatpickr: (config?: Options) => Instance | Instance[];
|
10 | }
|
11 | interface HTMLCollection {
|
12 | flatpickr: (config?: Options) => Instance | Instance[];
|
13 | }
|
14 | interface Window {
|
15 | flatpickr: FlatpickrFn;
|
16 | }
|
17 | interface Date {
|
18 | fp_incr: (n: number) => Date;
|
19 | }
|
20 | }
|