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);