Skip to content

lib: add Uint16Array primordials

Hello, For this PR I have added Uint16Array in the primordials eslint And i just have created a line in "/lib/.eslintrc.yaml".

rules:
  no-restricted-globals:
  - name: Uint16Array 
      message: "Use `const { Uint16Array } = primordials;` instead of the global."

And just add Uint16Array.

const {
  // [...]
  Uint16Array,
} = primordials;

I hope this new PR will help you :x

Merge request reports

Loading