Skip to content

Fix tsc error with TextDecoderStream#790

Merged
jesserockz merged 2 commits intomainfrom
jesserockz-2025-410
Aug 27, 2025
Merged

Fix tsc error with TextDecoderStream#790
jesserockz merged 2 commits intomainfrom
jesserockz-2025-410

Conversation

@jesserockz
Copy link
Copy Markdown
Member

Error: src/logs-webserial/ewt-console.ts(96,32): error TS2345: Argument of type 'TextDecoderStream' is not assignable to parameter of type 'ReadableWritablePair<string, Uint8Array<ArrayBufferLike>>'.
  Types of property 'writable' are incompatible.
    Type 'WritableStream<BufferSource>' is not assignable to type 'WritableStream<Uint8Array<ArrayBufferLike>>'.
      Type 'BufferSource' is not assignable to type 'Uint8Array<ArrayBufferLike>'.
        Type 'ArrayBuffer' is missing the following properties from type 'Uint8Array<ArrayBufferLike>': BYTES_PER_ELEMENT, buffer, byteOffset, copyWithin, and 24 more.
Error: Process completed with exit code 2.

@jesserockz jesserockz merged commit 7dca8c2 into main Aug 27, 2025
3 checks passed
@jesserockz jesserockz deleted the jesserockz-2025-410 branch August 27, 2025 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant