Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.HrtimePermissionDescriptor

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.HrtimePermissionDescriptor
import { type Deno } from "https://deno.land/x/deno@v1.40.5/cli/tsc/dts/lib.deno.ns.d.ts";
const { HrtimePermissionDescriptor } = Deno;

The permission descriptor for the allow-hrtime and deny-hrtime permissions, which controls if the runtime code has access to high resolution time. High resolution time is considered sensitive information, because it can be used by malicious code to gain information about the host that it might not otherwise have access to.

Properties

name: "hrtime"