Skip to content

Commit

Permalink
lib: add Uint16Array primordials
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastien-Ahkrin authored and MylesBorins committed Jan 16, 2020
1 parent 63f4eae commit 0271457
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/.eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ rules:
message: "Use `const { Set } = primordials;` instead of the global."
- name: Symbol
message: "Use `const { Symbol } = primordials;` instead of the global."
- name: Uint16Array
message: "Use `const { Uint16Array } = primordials;` instead of the global."
- name: WeakMap
message: "Use `const { WeakMap } = primordials;` instead of the global."
- name: WeakSet
Expand Down
1 change: 1 addition & 0 deletions lib/internal/util/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const {
SymbolPrototypeValueOf,
SymbolIterator,
SymbolToStringTag,
Uint16Array,
uncurryThis,
} = primordials;

Expand Down

0 comments on commit 0271457

Please sign in to comment.