Skip to content

Commit

Permalink
fix: πŸ› refactor #readlinkBase to be compatible w/ strictNullChecks
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 7, 2019
1 parent 8ca3550 commit b2e0f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volume.ts
Expand Up @@ -1672,7 +1672,7 @@ export class Volume {
this.wrapAsync(this.readdirBase, [filename, options], callback);
}

private readlinkBase(filename: string, encoding: TEncodingExtended): TDataOut {
private readlinkBase(filename: string, encoding: TEncodingExtended | undefined): TDataOut {
const link = this.getLinkOrThrow(filename, 'readlink');
const node = link.getNode();

Expand Down

0 comments on commit b2e0f76

Please sign in to comment.