Skip to content

Commit

Permalink
fix: πŸ› don't assign null to .parent property in Link
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 12, 2019
1 parent 71569c0 commit b3e60b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.ts
Expand Up @@ -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 } = {};

Expand Down

0 comments on commit b3e60b6

Please sign in to comment.