diff options
author | 2022-12-29 03:07:41 -0800 | |
---|---|---|
committer | 2022-12-29 06:05:43 -0800 | |
commit | 7c8a196c7666b87ba7625f2fe2c69508b8df4add (patch) | |
tree | 9757cd28bc6edf9a12efcafeb5502696f2499f0a | |
parent | 79a2f81447d477f47730f8d5be6479ec4bd4340a (diff) | |
download | bun-7c8a196c7666b87ba7625f2fe2c69508b8df4add.tar.gz bun-7c8a196c7666b87ba7625f2fe2c69508b8df4add.tar.zst bun-7c8a196c7666b87ba7625f2fe2c69508b8df4add.zip |
[bun-types] Add missing `performance.timeOrigin` type
-rw-r--r-- | packages/bun-types/globals.d.ts | 9 |
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; }; /** |