typescript 6.0.0-dev.20260217 → 6.0.0-dev.20260219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,7 @@ declare namespace Temporal {
24
24
  type InstantLike = Instant | ZonedDateTime | string;
25
25
  type PlainDateLike = PlainDate | ZonedDateTime | PlainDateTime | DateLikeObject | string;
26
26
  type PlainDateTimeLike = PlainDateTime | ZonedDateTime | PlainDate | DateTimeLikeObject | string;
27
- type PlainMonthDayLike = PlainMonthDay | MonthDayLikeObject | string;
27
+ type PlainMonthDayLike = PlainMonthDay | DateLikeObject | string;
28
28
  type PlainTimeLike = PlainTime | PlainDateTime | ZonedDateTime | TimeLikeObject | string;
29
29
  type PlainYearMonthLike = PlainYearMonth | YearMonthLikeObject | string;
30
30
  type TimeZoneLike = ZonedDateTime | string;
@@ -59,8 +59,6 @@ declare namespace Temporal {
59
59
  nanoseconds?: number | undefined;
60
60
  }
61
61
 
62
- interface MonthDayLikeObject extends Omit<DateLikeObject, "era" | "eraYear"> {}
63
-
64
62
  interface TimeLikeObject {
65
63
  hour?: number | undefined;
66
64
  minute?: number | undefined;
@@ -454,7 +452,7 @@ declare namespace Temporal {
454
452
  readonly calendarId: string;
455
453
  readonly monthCode: string;
456
454
  readonly day: number;
457
- with(monthDayLike: PartialTemporalLike<MonthDayLikeObject>, options?: OverflowOptions): PlainMonthDay;
455
+ with(monthDayLike: PartialTemporalLike<DateLikeObject>, options?: OverflowOptions): PlainMonthDay;
458
456
  equals(other: PlainMonthDayLike): boolean;
459
457
  toString(options?: PlainDateToStringOptions): string;
460
458
  toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;