aboutsummaryrefslogtreecommitdiff
path: root/src/timer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.ts')
-rw-r--r--src/timer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.ts b/src/timer.ts
index 105fc8c7a..2fc2ade04 100644
--- a/src/timer.ts
+++ b/src/timer.ts
@@ -54,7 +54,7 @@ export let performanceNow = (() => {
return () => {
const t = process.hrtime();
return t[0] * 1e9 + t[1];
- }
+ };
} else if (typeof "performance" !== "undefined") {
return () => performance.now();
} else {