Commit 83ba23e
committed
fix: widen IGNORED_DIRECTORY_NAMES to Set<string> for TS compatibility
Set.has() requires the argument to match the set's type parameter.
Spreading as-const tuples into a Set infers a narrow literal union,
which rejects entry.name (plain string) at the call site on line 178.1 parent cafdb95 commit 83ba23e
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
0 commit comments