Safe navigation operator with bracket property accesor
问题 I've run into a case where I can't use the dot notation to access a property, because the property's name contains a dot. I have an object called translations whose properties contain string translations, for example the Tooltip.O2 property contains the translation for the tooltip of an image: <img [matTooltip]="translations?.Tooltip.O2" [src]="bed.additionalO2 ? medO2 : noO2"> When I do this, it thinks I'm trying to access a Tooltip object inside translations with an O2 property. I'm aware