lib: add Int16Array primordials

PR-URL: https://github.com/nodejs/node/pull/31205
Reviewed-By: Michaël Zasso <targos@protonmail.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>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
Sebastien Ahkrin authored and Michaël Zasso committed 2020-06-02 15:38:59 +02:00
1 parent 81f6dd66fe
commit 178efdf5a2
2 files changed
+3

No files matched your search

+2
View File
@@ -23,6 +23,8 @@ rules:
message: "Use `const { Error } = primordials;` instead of the global."
- name: Float32Array
message: "Use `const { Float32Array } = primordials;` instead of the global."
- name: Int16Array
message: "Use `const { Int16Array } = primordials;` instead of the global."
- name: JSON
message: "Use `const { JSON } = primordials;` instead of the global."
- name: Map
+1
View File
@@ -13,6 +13,7 @@ const {
ErrorPrototypeToString,
Float32Array,
FunctionPrototypeToString,
Int16Array,
JSONStringify,
Map,
MapPrototype,