aboutsummaryrefslogtreecommitdiff
path: root/src/js/node/events.js
diff options
context:
space:
mode:
authorGravatar dave caruso <me@paperdave.net> 2023-07-12 15:21:55 -0700
committerGravatar GitHub <noreply@github.com> 2023-07-12 15:21:55 -0700
commitae0a724981dd70f457d83f5f134e10dfbc7f72c5 (patch)
treefc094d1176c60a3378dab270264be3352d11ea87 /src/js/node/events.js
parent0631f878667d9a5cab80d7c1167eac7cbc1c93c6 (diff)
downloadbun-ae0a724981dd70f457d83f5f134e10dfbc7f72c5.tar.gz
bun-ae0a724981dd70f457d83f5f134e10dfbc7f72c5.tar.zst
bun-ae0a724981dd70f457d83f5f134e10dfbc7f72c5.zip
Improve our internal typedefs (#3608)
* types * some more * yeah * i think that fixes it * oop
Diffstat (limited to 'src/js/node/events.js')
-rw-r--r--src/js/node/events.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/node/events.js b/src/js/node/events.js
index 111fdb524..7b78193ca 100644
--- a/src/js/node/events.js
+++ b/src/js/node/events.js
@@ -2,7 +2,7 @@
// Reference: https://github.com/nodejs/node/blob/main/lib/events.js
import { throwNotImplemented } from "../shared";
-var { isPromise, Array, Object } = globalThis[Symbol.for("Bun.lazy")]("primordials");
+var { isPromise, Array, Object } = $lazy("primordials");
const SymbolFor = Symbol.for;
const ObjectDefineProperty = Object.defineProperty;
const kCapture = Symbol("kCapture");