Skip to content

Missing fix for one remaining strict typescript error #1519

@khallmark

Description

@khallmark

Describe the bug

One typescript error got missed by the recent fixes.

diff --git a/node_modules/reactotron-core-client/src/stopwatch.ts b/node_modules/reactotron-core-client/src/stopwatch.ts
index 5f51e31..ba4a755 100644
--- a/node_modules/reactotron-core-client/src/stopwatch.ts
+++ b/node_modules/reactotron-core-client/src/stopwatch.ts
@@ -10,7 +10,7 @@ const hasHirezNodeTimer =
   typeof process.hrtime === "function"
 
 // the default timer
-// eslint-disable-next-line @typescript-eslint/no-unused-vars
+// @ts-expect-error
 const defaultPerformanceNow = (started?: number) => Date.now()
 
 // try to find the browser-based performance timer

Reactotron version

2.9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions