aboutsummaryrefslogtreecommitdiff
path: root/src/temporal-ambient.d.ts
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-09-25 09:10:31 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-09-25 09:10:31 +0200
commit760a61001edafb462ca9c7f5bc8013f31fb15a5c (patch)
tree50f906de9ddaefb7362d444937f7ff4177ee2a7a /src/temporal-ambient.d.ts
parente5e1482b1f5aea4a50de44801c81c81750042201 (diff)
Compress comments to terse single lines within line width
Diffstat (limited to 'src/temporal-ambient.d.ts')
-rw-r--r--src/temporal-ambient.d.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/temporal-ambient.d.ts b/src/temporal-ambient.d.ts
index fbd721e..87933b9 100644
--- a/src/temporal-ambient.d.ts
+++ b/src/temporal-ambient.d.ts
@@ -1,6 +1,4 @@
-// Minimal ambient Temporal declarations (native runtime, no polyfill).
-// Covers only what this app uses; extend as needed. If a future TS lib
-// ships Temporal types, these merge with them.
+// Minimal ambient Temporal declarations (no polyfill); extend as needed.
declare global {
namespace Temporal {
@@ -51,9 +49,11 @@ declare global {
toZonedDateTime(timeZone: TimeZoneId): ZonedDateTime;
}
namespace PlainDate {
- function from(
- plainDateLike: { year: number; month: number; day: number },
- ): PlainDate;
+ function from(plainDateLike: {
+ year: number;
+ month: number;
+ day: number;
+ }): PlainDate;
}
namespace Now {
function instant(): Instant;