diff --git a/src/index.ts b/src/index.ts index b85c385..322cf3d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -138,7 +138,7 @@ function defaultSerialize(i: any) { const defaultDeserialize = defaultSerialize // Store public APIs locally in case they are overridden later -const { setTimeout } = globalThis +const { clearTimeout, setTimeout } = globalThis const random = Math.random.bind(Math) export function createBirpc, LocalFunctions = Record>(