aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/bun-types/globals.d.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/bun-types/globals.d.ts b/packages/bun-types/globals.d.ts
index 0679a7eb4..9abf66736 100644
--- a/packages/bun-types/globals.d.ts
+++ b/packages/bun-types/globals.d.ts
@@ -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;
};
/**