Skip to content

subarray is not re-defined in index.d.ts #297

@BTOdell

Description

@BTOdell

The subarray function should return a Buffer, but currently the types are inheriting the definition from Uint8Array which has the function returning a Uint8Array.
I believe PR #261 fixed this issue at runtime, but the types were never updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions