Skip to content

Commit bf24ef3

Browse files
dependabot[bot]balloobclaude
authored
Bump typescript from 5.8.3 to 5.9.3 (#641)
* Bump typescript from 5.8.3 to 5.9.3 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.3 to 5.9.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](microsoft/TypeScript@v5.8.3...v5.9.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 5.9.3 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix TypeScript 5.9 type error with TextDecoderStream TypeScript 5.9 has stricter typing for TextDecoderStream.writable which is typed as WritableStream<BufferSource> but pipeThrough expects WritableStream<Uint8Array>. Add type assertion to fix compatibility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paulus Schoutsen <balloob@gmail.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c3210d6 commit bf24ef3

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

package-lock.json

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/ewt-console.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,12 @@ export class EwtConsole extends HTMLElement {
9393
this.logger.debug("Starting console read loop");
9494
try {
9595
await this.port
96-
.readable!.pipeThrough(new TextDecoderStream(), {
97-
signal: abortSignal,
98-
})
96+
.readable!.pipeThrough(
97+
new TextDecoderStream() as ReadableWritablePair<string, Uint8Array>,
98+
{
99+
signal: abortSignal,
100+
},
101+
)
99102
.pipeThrough(new TransformStream(new LineBreakTransformer()))
100103
.pipeThrough(new TransformStream(new TimestampTransformer()))
101104
.pipeTo(

0 commit comments

Comments
 (0)