From e4ef6a4b8ed9d5b3acd5b81f792fa12957d8e06e Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Fri, 1 Mar 2024 04:47:10 +0900 Subject: [PATCH] fix(unstable): add `Date#toTemporalInstant` type (#22637) --- cli/tsc/dts/lib.deno.unstable.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index e73977a229..7847e48748 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 */