Skip to content

Commit

Permalink
fix: πŸ› refactor #read to be compatible w/ strictNullChecks
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 6, 2019
1 parent 7b67eea commit 87b587f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volume.ts
Expand Up @@ -1026,7 +1026,7 @@ export class Volume {
offset: number,
length: number,
position: number,
callback: (err?: Error, bytesRead?: number, buffer?: Buffer | Uint8Array) => void,
callback: (err?: Error | null, bytesRead?: number, buffer?: Buffer | Uint8Array) => void,
) {
validateCallback(callback);

Expand Down

0 comments on commit 87b587f

Please sign in to comment.