From 945582886805ccd59aebd53ea47ceed63d084908 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 30 Mar 2023 17:45:27 +0100 Subject: [PATCH] fix: fix argument typo --- packages/it-buffer-stream/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/it-buffer-stream/src/index.ts b/packages/it-buffer-stream/src/index.ts index 9c4181ef..cadbf0ca 100644 --- a/packages/it-buffer-stream/src/index.ts +++ b/packages/it-buffer-stream/src/index.ts @@ -3,7 +3,7 @@ import randomBytes from 'iso-random-stream/src/random.js' export interface BufferStreamOptions { chunkSize?: number collector?: (arr: Uint8Array) => void - generator?: (lenght: number) => Uint8Array | Promise + generator?: (length: number) => Uint8Array | Promise } const defaultOptions: Required = {