We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b71ef88 commit d3910e6Copy full SHA for d3910e6
1 file changed
packages/core/src/island.ts
@@ -47,7 +47,7 @@ const log = createLogger('core');
47
// Module-level store of active visibility strategy timeout IDs.
48
// Used for test cleanup - tests can call _clearAllVisibilityTimeouts()
49
// to prevent timer leaks.
50
-const _visibilityTimeouts: Set<number> = new Set();
+const _visibilityTimeouts = new Set<ReturnType<typeof setTimeout>>();
51
52
/** Clear all active visibility strategy timeouts (for test cleanup). */
53
export function _clearAllVisibilityTimeouts(): void {
0 commit comments