We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a8a195 commit 360537eCopy full SHA for 360537e
library/agent/hooks/wrapRequire.ts
@@ -12,7 +12,7 @@ import { isMainJsFile } from "./isMainJsFile";
12
import { getInstance } from "../AgentSingleton";
13
import { executeInterceptors } from "./executeInterceptors";
14
15
-let originalRequire: typeof mod.prototype.require | undefined;
+let originalRequire: typeof mod.prototype.require;
16
let isRequireWrapped = false;
17
18
let packages: Package[] = [];
0 commit comments