Skip to content

Commit

Permalink
fix: fix argument typo (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Mar 30, 2023
1 parent d7e066a commit a031dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/it-buffer-stream/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Uint8Array>
generator?: (length: number) => Uint8Array | Promise<Uint8Array>
}

const defaultOptions: Required<BufferStreamOptions> = {
Expand Down

0 comments on commit a031dea

Please sign in to comment.