diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-26 09:03:12 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-26 09:03:12 +0200 |
| commit | f07c98fb888a5b56ba15d307a3afbdaf4209eaa3 (patch) | |
| tree | e5957d6f4aff03ecc63f9a654998ac9776e28ef5 /src/temporal-ambient.d.ts | |
| parent | a89dd5935ba80d83c1c4802c8dd2d2ddec38f345 (diff) | |
Allow backdating a routine completion
Diffstat (limited to 'src/temporal-ambient.d.ts')
| -rw-r--r-- | src/temporal-ambient.d.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/temporal-ambient.d.ts b/src/temporal-ambient.d.ts index 87933b9..c5ec34f 100644 --- a/src/temporal-ambient.d.ts +++ b/src/temporal-ambient.d.ts @@ -36,6 +36,7 @@ declare global { add(durationLike: DurationLike): ZonedDateTime; startOfDay(): ZonedDateTime; toInstant(): Instant; + toPlainDate(): PlainDate; toLocaleString( locales?: string | string[], options?: Intl.DateTimeFormatOptions, @@ -47,13 +48,12 @@ declare global { add(durationLike: DurationLike): PlainDate; subtract(durationLike: DurationLike): PlainDate; toZonedDateTime(timeZone: TimeZoneId): ZonedDateTime; + toString(): string; } namespace PlainDate { - function from(plainDateLike: { - year: number; - month: number; - day: number; - }): PlainDate; + function from( + plainDateLike: { year: number; month: number; day: number } | string, + ): PlainDate; } namespace Now { function instant(): Instant; |
