From 27a4dada340fa91f36449f2b2477accee79c12d1 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sun, 7 Jul 2019 00:23:45 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20refactor=20`#readFileBase?= =?UTF-8?q?`=20to=20be=20compatible=20w/=20`strictNullChecks`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/volume.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volume.ts b/src/volume.ts index e8666839..b3b5c5b8 100644 --- a/src/volume.ts +++ b/src/volume.ts @@ -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();