Skip to content

Commit 0271457

Browse files
Sebastien-AhkrinMylesBorins
authored andcommitted
lib: add Uint16Array primordials
PR-URL: #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>
1 parent 63f4eae commit 0271457

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/.eslintrc.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ rules:
4141
message: "Use `const { Set } = primordials;` instead of the global."
4242
- name: Symbol
4343
message: "Use `const { Symbol } = primordials;` instead of the global."
44+
- name: Uint16Array
45+
message: "Use `const { Uint16Array } = primordials;` instead of the global."
4446
- name: WeakMap
4547
message: "Use `const { WeakMap } = primordials;` instead of the global."
4648
- name: WeakSet

lib/internal/util/inspect.js

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const {
4545
SymbolPrototypeValueOf,
4646
SymbolIterator,
4747
SymbolToStringTag,
48+
Uint16Array,
4849
uncurryThis,
4950
} = primordials;
5051

0 commit comments

Comments
 (0)