Skip to content
Merged
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: 4 additions & 0 deletions src/lib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1040,6 +1040,10 @@ declare namespace Temporal {
toJSON(): string;
}

// @owned as every other declaration here (see the top of this file): without it these four were the
// library's only heap results the compiler could say nothing of, and under -mm=rc no call through a
// function value in any program gave its result back (a callback's, an object literal's method's)
@owned
declare namespace Now {
declare function instant(): Temporal.Instant;
declare function plainDateTimeISO(): Temporal.PlainDateTime;
Expand Down
Loading