chore - Remove unnecessary type assertion in ResourceMap callback (#269984)

This commit is contained in:
Johannes Rieken
2025-10-06 10:57:52 +02:00
committed by GitHub
parent 452135c513
commit 25fb2bada8
+1 -2
View File
@@ -121,8 +121,7 @@ export class ResourceMap<T> implements Map<URI, T> {
clb = clb.bind(thisArg);
}
for (const [_, entry] of this.map) {
// eslint-disable-next-line local/code-no-any-casts
clb(entry.value, entry.uri, <any>this);
clb(entry.value, entry.uri, this);
}
}