From 5988292523720ff55c59ddf910179591385bdb33 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 29 May 2019 08:57:26 -0700 Subject: [PATCH] make `partial` writable --- io/bufio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/bufio.ts b/io/bufio.ts index aec053e6ac937..815c94eed8cd2 100644 --- a/io/bufio.ts +++ b/io/bufio.ts @@ -17,7 +17,7 @@ const LF = charCode("\n"); export class BufferFullError extends Error { name = "BufferFullError"; - constructor(readonly partial: Uint8Array) { + constructor(public partial: Uint8Array) { super("Buffer full"); } }