Skip to content

Commit

Permalink
return missing type for sets
Browse files Browse the repository at this point in the history
  • Loading branch information
antonk52 committed Feb 18, 2024
1 parent 73ab171 commit 7fb11f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ module.exports.lilconfig = function lilconfig(name, options) {
filepath: '',
};

/** @type {Set<string>} */
const visited = new Set();
let dir = searchFrom;
dirLoop: while (true) {
Expand Down Expand Up @@ -332,6 +333,7 @@ module.exports.lilconfigSync = function lilconfigSync(name, options) {
filepath: '',
};

/** @type {Set<string>} */
const visited = new Set();
let dir = searchFrom;
dirLoop: while (true) {
Expand Down

0 comments on commit 7fb11f4

Please sign in to comment.