diff options
Diffstat (limited to 'bufio_test.ts')
| -rw-r--r-- | bufio_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bufio_test.ts b/bufio_test.ts index f3430a755..5f32500a7 100644 --- a/bufio_test.ts +++ b/bufio_test.ts @@ -159,7 +159,7 @@ const testOutput = encoder.encode("0123456789abcdefghijklmnopqrstuvwxy"); class TestReader implements Reader { constructor(private data: Uint8Array, private stride: number) {} - async read(buf: ArrayBufferView): Promise<ReadResult> { + async read(buf: Uint8Array): Promise<ReadResult> { let nread = this.stride; if (nread > this.data.byteLength) { nread = this.data.byteLength; |
