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.ns.d.ts>Deno.HrtimePermissionDescriptor

A modern runtime for JavaScript and TypeScript.
Latest
interface Deno.HrtimePermissionDescriptor
import { type Deno } from "https://deno.land/x/deno@v1.41.0/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"