@@ -8,7 +8,7 @@ declare namespace Temporal {
88 type InstantLike = Instant | ZonedDateTime | string ;
99 type PlainDateLike = PlainDate | ZonedDateTime | PlainDateTime | DateLikeObject | string ;
1010 type PlainDateTimeLike = PlainDateTime | ZonedDateTime | PlainDate | DateTimeLikeObject | string ;
11- type PlainMonthDayLike = PlainMonthDay | MonthDayLikeObject | string ;
11+ type PlainMonthDayLike = PlainMonthDay | DateLikeObject | string ;
1212 type PlainTimeLike = PlainTime | PlainDateTime | ZonedDateTime | TimeLikeObject | string ;
1313 type PlainYearMonthLike = PlainYearMonth | YearMonthLikeObject | string ;
1414 type TimeZoneLike = ZonedDateTime | string ;
@@ -43,8 +43,6 @@ declare namespace Temporal {
4343 nanoseconds ?: number | undefined ;
4444 }
4545
46- interface MonthDayLikeObject extends Omit < DateLikeObject , "era" | "eraYear" > { }
47-
4846 interface TimeLikeObject {
4947 hour ?: number | undefined ;
5048 minute ?: number | undefined ;
@@ -438,7 +436,7 @@ declare namespace Temporal {
438436 readonly calendarId : string ;
439437 readonly monthCode : string ;
440438 readonly day : number ;
441- with ( monthDayLike : PartialTemporalLike < MonthDayLikeObject > , options ?: OverflowOptions ) : PlainMonthDay ;
439+ with ( monthDayLike : PartialTemporalLike < DateLikeObject > , options ?: OverflowOptions ) : PlainMonthDay ;
442440 equals ( other : PlainMonthDayLike ) : boolean ;
443441 toString ( options ?: PlainDateToStringOptions ) : string ;
444442 toLocaleString ( locales ?: Intl . LocalesArgument , options ?: Intl . DateTimeFormatOptions ) : string ;
0 commit comments