Skip to content

Commit 04f6081

Browse files
authored
Update main.worker.ts
1 parent cba052d commit 04f6081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.worker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const stdin = (): number | null => {
5252
console.error("Try to fetch exhausted stdin");
5353
return null;
5454
}
55-
const nextChunk = /** @type {string} */ stdinChunks.shift();
55+
const nextChunk = stdinChunks.shift()!;
5656
currentStdinChunk.push(...textEncoder.encode(nextChunk), null);
5757
}
5858
return currentStdinChunk.shift()!;

0 commit comments

Comments
 (0)