Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>Temporal.TimeZoneLike

A modern runtime for JavaScript and TypeScript.
Latest
type alias Temporal.TimeZoneLike
import { type Temporal } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.unstable.d.ts";
const { TimeZoneLike } = Temporal;

Any of these types can be passed to Temporal methods instead of a time zone ID.

definition: string | ZonedDateTime