Available in TypeScript 2.1 there is now the possibility to set partial properties values of objects, making it very easy to initialize new objects. I had the problem before that whenever I wanted to create a new object and also initilize a new object, I had to set my values in the constructor, all my …
Continue reading “Great way to map up objects in TypeScript to keep objects initialized”