[bun-types] Add missing performance.timeOrigin type

This commit is contained in:
Jarred Sumner
2022-12-29 03:07:41 -08:00
parent 79a2f81447
commit 7c8a196c76

View File

@@ -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;
};
/**