Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tsc/internal/bundled/libs/lib.esnext.temporal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ declare namespace Temporal {
timeZoneName?: "auto" | "never" | "critical" | undefined;
}

interface ZonedDateTimeToLocaleStringOptions extends Omit<Intl.DateTimeFormatOptions, "timeZone"> {}

interface ZonedDateTimeFromOptions extends OverflowOptions, DisambiguationOptions {
offset?: "use" | "ignore" | "prefer" | "reject" | undefined;
}
Expand Down Expand Up @@ -316,7 +318,7 @@ declare namespace Temporal {
round(roundTo: RoundingOptions<"day" | TimeUnit>): ZonedDateTime;
equals(other: ZonedDateTimeLike): boolean;
toString(options?: ZonedDateTimeToStringOptions): string;
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
toLocaleString(locales?: Intl.LocalesArgument, options?: ZonedDateTimeToLocaleStringOptions): string;
toJSON(): string;
valueOf(): never;
startOfDay(): ZonedDateTime;
Expand Down
Loading