Skip to content

Commit 76123b9

Browse files
Sebastien-Ahkrincodebytere
authored andcommitted
lib: add Int16Array primordials
PR-URL: #31205 Reviewed-By: Michaël Zasso <[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]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 7a4c689 commit 76123b9

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
@@ -23,6 +23,8 @@ rules:
2323
message: "Use `const { Error } = primordials;` instead of the global."
2424
- name: Float32Array
2525
message: "Use `const { Float32Array } = primordials;` instead of the global."
26+
- name: Int16Array
27+
message: "Use `const { Int16Array } = primordials;` instead of the global."
2628
- name: JSON
2729
message: "Use `const { JSON } = primordials;` instead of the global."
2830
- name: Map

lib/internal/util/inspect.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const {
1313
ErrorPrototypeToString,
1414
Float32Array,
1515
FunctionPrototypeToString,
16+
Int16Array,
1617
JSONStringify,
1718
Map,
1819
MapPrototype,

0 commit comments

Comments
 (0)