mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
committed by
Michaël Zasso
parent
81f6dd66fe
commit
178efdf5a2
@@ -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
|
||||
|
||||
@@ -13,6 +13,7 @@ const {
|
||||
ErrorPrototypeToString,
|
||||
Float32Array,
|
||||
FunctionPrototypeToString,
|
||||
Int16Array,
|
||||
JSONStringify,
|
||||
Map,
|
||||
MapPrototype,
|
||||
|
||||
Reference in New Issue
Block a user