summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index b1f7d1473..af6309338 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -22,6 +22,7 @@ delete Object.prototype.__proto__;
SymbolFor,
SymbolIterator,
PromisePrototypeThen,
+ TypeError,
} = window.__bootstrap.primordials;
const util = window.__bootstrap.util;
const eventTarget = window.__bootstrap.eventTarget;
@@ -228,6 +229,7 @@ delete Object.prototype.__proto__;
} else {
prepareStackTrace = core.createPrepareStackTrace();
}
+ // deno-lint-ignore prefer-primordials
Error.prepareStackTrace = prepareStackTrace;
}