UNPKG

react-day-picker

Version:

Customizable Date Picker for React

9 lines (8 loc) 238 B
/** * Set month * * @param {Date} date - The original date * @param {number} month - The zero-based month index * @returns {Date} The new date with the month set */ export declare function setMonth(date: Date, month: number): Date;