Skip to content

Commit

Permalink
fix: πŸ› define the type elements in the Volume.releasedFds array
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 6, 2019
1 parent 1c4a4ba commit 9e21f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volume.ts
Expand Up @@ -556,7 +556,7 @@ export class Volume {

// A list of reusable (opened and closed) file descriptors, that should be
// used first before creating a new file descriptor.
releasedFds = [];
releasedFds: number[] = [];

// Max number of open files.
maxFiles = 10000;
Expand Down

0 comments on commit 9e21f3a

Please sign in to comment.