nhb-toolbox
Version:
A versatile collection of smart, efficient, and reusable utility functions and classes for everyday development needs.
16 lines • 659 B
TypeScript
import type { SeasonOptions } from '../types';
type MainChronos = typeof import('../Chronos').Chronos;
declare module '../Chronos' {
interface Chronos {
/**
* @instance Returns the current season name based on optional season rules or presets.
* @param options Configuration with optional custom seasons or preset name.
* @returns The name of the season the current date falls under.
*/
season(options?: SeasonOptions): string;
}
}
/** * Plugin to inject `season` method */
export declare const seasonPlugin: (ChronosClass: MainChronos) => void;
export {};
//# sourceMappingURL=seasonPlugin.d.ts.map