Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Options for assigning fields using Duration.prototype.with() or entire objects with Duration.from(), and for arithmetic with Duration.prototype.add() and Duration.prototype.subtract().

definition: { overflow?: "constrain" | "balance"; }