TypeScript
TypeScript copied to clipboard
lib(esnext.intl): add missing minimalDays to WeekInfo interface
Summary
Fixes #61713
The WeekInfo interface in src/lib/esnext.intl.d.ts was missing the minimalDays property, which is part of the Intl Locale Info API (Stage 4).
The JSDoc comment on getWeekInfo() already documented all three properties (firstDay, weekend, and minimalDays), but the WeekInfo return type interface only declared firstDay and weekend. This change adds the missing minimalDays: number property with the appropriate JSDoc and MDN reference link.
Checklist
- [x] There is an associated issue in the
Backlogmilestone (#61713) - [x] Code is up-to-date with the
mainbranch - [x] You've successfully run
hereby runtestslocally - [x] There are new or updated unit tests validating the change