Skip to content

Commit

Permalink
fix(path): fix type error in glob.ts with noImplicitAny: false config (
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Shaw authored Jun 28, 2021
1 parent d845ad7 commit 8ef538a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion path/glob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function globToRegExp(
// Terminates correctly. Trust that `j` is incremented every iteration.
for (let j = 0; j < glob.length;) {
let segment = "";
const groupStack = [];
const groupStack: string[] = [];
let inRange = false;
let inEscape = false;
let endsWithSep = false;
Expand Down

0 comments on commit 8ef538a

Please sign in to comment.