Skip to content

Commit f821815

Browse files
rwblaireffigies
andauthored
Update src/files/streams.ts
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 0320631 commit f821815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/files/streams.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class UTF8StreamTransformer implements Transformer<Uint8Array, string> {
1616
private decoder: TextDecoder
1717
private firstChunk: boolean
1818

19-
constructor(fatal: boolean = false) {
19+
constructor({fatal: boolean = false}) {
2020
this.decoder = new TextDecoder('utf-8', {fatal})
2121
this.firstChunk = true
2222
}

0 commit comments

Comments
 (0)