fix: don't expose globalThis.__bootstrap (#7344)

This commit is contained in:
Kitson Kelly 2020-09-04 21:52:19 +10:00 committed by GitHub
parent 15649b61bd
commit 9e50b3ee61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 13 deletions

View file

@ -393,7 +393,6 @@
}
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function isEitherArrayBuffer(x) {
return x instanceof SharedArrayBuffer || x instanceof ArrayBuffer ||
typeof x === "undefined";