mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
lib: replace BigInt64Array global by the primordials
PR-URL: https://github.com/nodejs/node/pull/31193 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
fff75645e9
commit
a2c4244e3d
@ -13,6 +13,8 @@ rules:
|
||||
message: "Use `const { Array } = primordials;` instead of the global."
|
||||
- name: BigInt
|
||||
message: "Use `const { BigInt } = primordials;` instead of the global."
|
||||
- name: BigInt64Array
|
||||
message: "Use `const { BigInt64Array } = primordials;` instead of the global."
|
||||
- name: BigUint64Array
|
||||
message: "Use `const { BigUint64Array } = primordials;` instead of the global."
|
||||
- name: Boolean
|
||||
|
@ -3,6 +3,7 @@
|
||||
const {
|
||||
Array,
|
||||
ArrayIsArray,
|
||||
BigInt64Array,
|
||||
BigIntPrototypeValueOf,
|
||||
BigUint64Array,
|
||||
BooleanPrototypeValueOf,
|
||||
|
Loading…
Reference in New Issue
Block a user