From d06201e4def96703aa72af2c3eb3526ec26d1daf Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 12 Jul 2019 16:20:50 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20don't=20assign=20`null`?= =?UTF-8?q?=20to=20`.node`=20property=20in=20`File`?= 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 0a823575..3673e3d7 100644 --- a/src/node.ts +++ b/src/node.ts @@ -363,7 +363,7 @@ export class File { * Reference to a `Node`. * @type {Node} */ - node: Node = null; + node: Node; /** * A cursor/offset position in a file, where data will be written on write.