Skip to content

Commit bd63c43

Browse files
Sebastien-Ahkrincodebytere
authored andcommitted
lib: add Uint16Array primordials
PR-URL: #31210 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent b91a48a commit bd63c43

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)