Skip to content

Commit

Permalink
use DOMHighResTimeStamp type
Browse files Browse the repository at this point in the history
  • Loading branch information
GJZwiers committed May 5, 2022
1 parent c2724f8 commit 7d39976
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/dts/lib.deno.shared_globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
/// <reference lib="deno.websocket" />
/// <reference lib="deno.crypto" />
/// <reference lib="deno.broadcast_channel" />
/// <reference lib="dom.extras" />

declare namespace WebAssembly {
/**
Expand Down Expand Up @@ -450,7 +451,7 @@ declare class Worker extends EventTarget {
declare type PerformanceEntryList = PerformanceEntry[];

declare class Performance {
readonly timeOrigin: number;
readonly timeOrigin: DOMHighResTimeStamp;
constructor();

/** Removes the stored timestamp with the associated name. */
Expand Down

0 comments on commit 7d39976

Please sign in to comment.