Skip to content

the return type of Int8Array::toReversed in es2023.array.d.ts is wrong #59162

Closed

Description

⚙ Compilation target

ES2023

⚙ Library

es2023.array.d.ts

Missing / Incorrect Definition

interface Int8Array {
  ...
  toReversed(): Uint8Array;
  ...
}

Sample Code

The correct definition should be:


interface Int8Array {
  ...
  toReversed(): Int8Array;
  ...
}

Documentation Link

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScript

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions