How do I make ngFor for dictionary in Angular?

There is a brandsByLetter class:

brandsByLetter: { [id: string] : AutoServiceBrand[]; } = {};

And I have this construction in angularJS that I need to make in Angular11:

<li *ngFor="let (letter, brands) of brandsByLetter">
    {{letter}}
    {{brands}}
</li>

How do I make "(letter, brands) of" in Angular?

Source: Angular Questions