have you seen Object.freeze?
Indeed I didn't, thanks!
It even seems to be supported by typescript as the type definition returns a ReadOnly (stackoverflow.com/questions/486298...).
Makes me wonder why libraries like ngrx don't take advantage of this.
I will definitely try to use that one.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.