Inconsistent syntax highlighting in TypeScript classes
Given the following TypeScript class:
class Houses {
private readonly inhabitants: Inhabitant[];
constructor(
private readonly walls: Wall[]
) {
this.inhabitants = gen_inhabitants();
}
}
In GNOME Builder, readonly
will be highlighted in the case of the inhabitants variable, but not the walls variable. Screenshot:
I imagine this is unintended and that readonly should be highlighted in both cases.