fix(core): narrow wrapped seek function type

This commit is contained in:
Vance Ingalls
2026-07-09 18:09:45 -07:00
parent 67a4fb6b70
commit d2f32c831c
+1 -1
View File
@@ -201,7 +201,7 @@ export function installPositionEditsSeekReapply(win: Window & typeof globalThis)
const isWrapped = (fn: unknown): fn is SeekFunction =>
typeof fn === "function" &&
(wrappedSeekFunctions.has(fn) ||
(wrappedSeekFunctions.has(fn as SeekFunction) ||
Boolean((fn as { [SEEK_REAPPLY_WRAPPED]?: boolean })[SEEK_REAPPLY_WRAPPED]));
const markWrapped = (fn: SeekFunction): void => {