Skip to content

Commit

Permalink
fix: πŸ› refactor #readFileBase 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 9e21f3a commit 27a4dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volume.ts
Expand Up @@ -1058,7 +1058,7 @@ export class Volume {
else {
const filename = pathToFilename(id as TFilePath);
const steps = filenameToSteps(filename);
const link: Link = this.getResolvedLink(steps);
const link: Link | null = this.getResolvedLink(steps);

if (link) {
const node = link.getNode();
Expand Down

0 comments on commit 27a4dad

Please sign in to comment.