summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-03-01 04:47:10 +0900
committerGitHub <noreply@github.com>2024-02-29 14:47:10 -0500
commite4ef6a4b8ed9d5b3acd5b81f792fa12957d8e06e (patch)
tree12cd7963b5bc10ab403f9fbebd2f7e01f2d3d078
parentfb31ae73e40896c1d1dfdb26c265222f49907d32 (diff)
fix(unstable): add `Date#toTemporalInstant` type (#22637)
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts
index e73977a22..7847e4874 100644
--- a/cli/tsc/dts/lib.deno.unstable.d.ts
+++ b/cli/tsc/dts/lib.deno.unstable.d.ts
@@ -4244,6 +4244,11 @@ declare namespace Temporal {
};
}
+interface Date {
+ /** @category Temporal */
+ toTemporalInstant(): Temporal.Instant;
+}
+
/** @category Intl */
declare namespace Intl {
/** @category Intl */