mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
[bun-types] Add missing performance.timeOrigin type
This commit is contained in:
9
packages/bun-types/globals.d.ts
vendored
9
packages/bun-types/globals.d.ts
vendored
@@ -1181,6 +1181,15 @@ declare var performance: {
|
||||
*
|
||||
*/
|
||||
now: () => number;
|
||||
|
||||
/**
|
||||
* The timeOrigin read-only property of the Performance interface returns the
|
||||
* high resolution timestamp that is used as the baseline for
|
||||
* performance-related timestamps.
|
||||
*
|
||||
* @link https://developer.mozilla.org/en-US/docs/Web/API/Performance/timeOrigin
|
||||
*/
|
||||
readonly timeOrigin: number;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user