From 6dc49130d248510fa31c1480f04c7be412a71158 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sun, 7 Jul 2019 00:26:29 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20refactor=20`#resolveSymli?= =?UTF-8?q?nks`=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 500c91abf..094122981 100644 --- a/src/volume.ts +++ b/src/volume.ts @@ -730,7 +730,7 @@ export class Volume { return link; } - resolveSymlinks(link: Link): Link { + resolveSymlinks(link: Link): Link | null { // let node: Node = link.getNode(); // while(link && node.isSymlink()) { // link = this.getLink(node.symlink);