TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

lib(esnext.intl): add missing minimalDays to WeekInfo interface

Open smedavarapu1 opened this issue 5 months ago • 0 comments

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 Backlog milestone (#61713)
  • [x] Code is up-to-date with the main branch
  • [x] You've successfully run hereby runtests locally
  • [x] There are new or updated unit tests validating the change

smedavarapu1 avatar Jun 26 '26 18:06 smedavarapu1