chore: lint using 🐊Putout

This commit is contained in:
coderaiser
2022-09-15 17:19:34 +03:00
parent d3fd3d0f22
commit 25eb7d6472
5 changed files with 25 additions and 23 deletions
+3 -1
View File
@@ -29,7 +29,9 @@ export class ServiceCollection {
}
public forEach(callback: (id: IServiceIdentifier<any>, instance: any) => any): void {
this._entries.forEach((value, key) => callback(key, value));
for (const [key, value] of this._entries.entries()) {
callback(key, value);
}
}
public has(id: IServiceIdentifier<any>): boolean {