Skip to content

Commit

Permalink
fix: πŸ› don't assign null to StatWatcher.prev property
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 11, 2019
1 parent 1540522 commit fd1a253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2136,7 +2136,7 @@ export class StatWatcher extends EventEmitter {
interval: number;
timeoutRef?;
setTimeout: TSetTimeout;
prev: Stats = null;
prev: Stats;

constructor(vol: Volume) {
super();
Expand Down

0 comments on commit fd1a253

Please sign in to comment.