Skip to main content
Deno 2 is finally 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.32.3/cli/tsc/dts/lib.deno.ns.d.ts";
const { HrtimePermissionDescriptor } = Deno;

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

Properties

name: "hrtime"