diff options
author | Luca Casonato <hello@lcas.dev> | 2024-09-03 11:24:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 11:24:25 +0200 |
commit | 5cf97f539bb0c3d2bda918f53cd4a976c03b37e3 (patch) | |
tree | 82f05b270b3df52609e3d0d6c86a768d1399e257 /cli/tsc/dts/lib.deno.shared_globals.d.ts | |
parent | b5695d02df75719bca0df1aae0622b22761b1533 (diff) |
BREAKING(permissions): remove --allow-hrtime (#25367)
Remove `--allow-hrtime` and `--deny-hrtime`. We are doing this because
it is already possible to get access to high resolution timers through
workers and SharedArrayBuffer.
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tsc/dts/lib.deno.shared_globals.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.shared_globals.d.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/tsc/dts/lib.deno.shared_globals.d.ts b/cli/tsc/dts/lib.deno.shared_globals.d.ts index 1521cf12d..6727e42f1 100644 --- a/cli/tsc/dts/lib.deno.shared_globals.d.ts +++ b/cli/tsc/dts/lib.deno.shared_globals.d.ts @@ -593,16 +593,12 @@ declare interface Performance extends EventTarget { endMark?: string, ): PerformanceMeasure; - /** Returns a current time from Deno's start in milliseconds. - * - * Use the permission flag `--allow-hrtime` to return a precise value. + /** Returns a current time from Deno's start in fractional milliseconds. * * ```ts * const t = performance.now(); * console.log(`${t} ms since start!`); * ``` - * - * @tags allow-hrtime */ now(): number; |