Skip to content

Incompatible with TypeScript 5.9+ #53

@overheadhunter

Description

@overheadhunter

Note the recent changes to Uint8Array mentioned in the TypeScript 5.9 docs:

In order for the decoded data to be usable without casting, type definitions should be adjusted to:

  • decode: (str: string) => Uint8Array<ArrayBuffer>
  • optionally broaden the accepted param to encode: (data: AllowSharedBufferSource) => string

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