From 360537ed2702f6e3e7080ff604ec54365b8ad181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20K=C3=B6ssler?= Date: Mon, 30 Sep 2024 16:47:08 +0200 Subject: [PATCH] Fix build --- library/agent/hooks/wrapRequire.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/agent/hooks/wrapRequire.ts b/library/agent/hooks/wrapRequire.ts index 4a08a5830..e8cdcbf29 100644 --- a/library/agent/hooks/wrapRequire.ts +++ b/library/agent/hooks/wrapRequire.ts @@ -12,7 +12,7 @@ import { isMainJsFile } from "./isMainJsFile"; import { getInstance } from "../AgentSingleton"; import { executeInterceptors } from "./executeInterceptors"; -let originalRequire: typeof mod.prototype.require | undefined; +let originalRequire: typeof mod.prototype.require; let isRequireWrapped = false; let packages: Package[] = [];