index.d.ts 470 B

1234567891011121314151617
  1. import { Plugin } from "../../types/options";
  2. export interface Config {
  3. shorthand: boolean;
  4. dateFormat: string;
  5. altFormat: string;
  6. theme: string;
  7. _stubbedCurrentMonth?: number;
  8. }
  9. export interface ElementDate extends Element {
  10. dateObj: Date;
  11. }
  12. export declare type MonthElement = HTMLSpanElement & {
  13. dateObj: Date;
  14. $i: number;
  15. };
  16. declare function monthSelectPlugin(pluginConfig?: Partial<Config>): Plugin;
  17. export default monthSelectPlugin;