18 lines
470 B
TypeScript
18 lines
470 B
TypeScript
import { Plugin } from "../../types/options";
|
|
export interface Config {
|
|
shorthand: boolean;
|
|
dateFormat: string;
|
|
altFormat: string;
|
|
theme: string;
|
|
_stubbedCurrentMonth?: number;
|
|
}
|
|
export interface ElementDate extends Element {
|
|
dateObj: Date;
|
|
}
|
|
export declare type MonthElement = HTMLSpanElement & {
|
|
dateObj: Date;
|
|
$i: number;
|
|
};
|
|
declare function monthSelectPlugin(pluginConfig?: Partial<Config>): Plugin;
|
|
export default monthSelectPlugin;
|