Skip to content

Commit

Permalink
Similar fixes for storage-file-share
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Jun 26, 2021
1 parent 48d8c02 commit 659939d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/src/utils/utils.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function streamToBuffer(
buffer: Buffer,
offset: number,
end: number,
encoding?: string
encoding?: BufferEncoding
): Promise<void> {
let pos = 0; // Position in stream
const count = end - offset; // Total amount of data needed in stream
Expand Down

0 comments on commit 659939d

Please sign in to comment.