Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing fix for one remaining strict typescript error #1519

Open
khallmark opened this issue Oct 29, 2024 · 0 comments
Open

Missing fix for one remaining strict typescript error #1519

khallmark opened this issue Oct 29, 2024 · 0 comments

Comments

@khallmark
Copy link

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

@khallmark khallmark changed the title Patch Included: Missing fix for one remaining strict typescript error Missing fix for one remaining strict typescript error Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant