mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
lib: add Uint16Array primordials
PR-URL: https://github.com/nodejs/node/pull/31210 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@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:
@@ -41,6 +41,8 @@ rules:
|
||||
message: "Use `const { Set } = primordials;` instead of the global."
|
||||
- name: Symbol
|
||||
message: "Use `const { Symbol } = primordials;` instead of the global."
|
||||
- name: Uint16Array
|
||||
message: "Use `const { Uint16Array } = primordials;` instead of the global."
|
||||
- name: WeakMap
|
||||
message: "Use `const { WeakMap } = primordials;` instead of the global."
|
||||
- name: WeakSet
|
||||
|
||||
@@ -45,6 +45,7 @@ const {
|
||||
SymbolPrototypeValueOf,
|
||||
SymbolIterator,
|
||||
SymbolToStringTag,
|
||||
Uint16Array,
|
||||
uncurryThis,
|
||||
} = primordials;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user