aboutsummaryrefslogtreecommitdiff
path: root/src/timer.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-28 01:10:54 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-28 13:46:36 +0200
commit08bd3dc0e8a3c2370e4e8abbaa241eaafc144f4c (patch)
tree9a55a5734718e7c278ccb24733425184fb8cea34 /src/timer.ts
parent7fff4499fd915bcea3fa93b1aa8b35f4fe7a6027 (diff)
downloadwallet-core-08bd3dc0e8a3c2370e4e8abbaa241eaafc144f4c.tar.xz
add linting rules and fix them
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 {