From b3e60b6475b478f4b65a5a80ac014cf24024f9be Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 12 Jul 2019 12:24:02 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20don't=20assign=20`null`?= =?UTF-8?q?=20to=20`.parent`=20property=20in=20`Link`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.ts b/src/node.ts index 6562b380..d1cdda37 100644 --- a/src/node.ts +++ b/src/node.ts @@ -234,7 +234,7 @@ export class Node extends EventEmitter { export class Link extends EventEmitter { vol: Volume; - parent: Link = null; + parent: Link; children: { [child: string]: Link } = {};