mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
fix(unstable): add Date#toTemporalInstant
type (#22637)
This commit is contained in:
parent
fb31ae73e4
commit
e4ef6a4b8e
1 changed files with 5 additions and 0 deletions
5
cli/tsc/dts/lib.deno.unstable.d.ts
vendored
5
cli/tsc/dts/lib.deno.unstable.d.ts
vendored
|
@ -4244,6 +4244,11 @@ declare namespace Temporal {
|
|||
};
|
||||
}
|
||||
|
||||
interface Date {
|
||||
/** @category Temporal */
|
||||
toTemporalInstant(): Temporal.Instant;
|
||||
}
|
||||
|
||||
/** @category Intl */
|
||||
declare namespace Intl {
|
||||
/** @category Intl */
|
||||
|
|
Loading…
Reference in a new issue