Transitioning my app from AngularJs to Angular 4 has been quite a challenge.
I've noticed that the type of statements I frequently used in my code are now failing in Angular 4 (TypeScript):
Update: The following lines were previously used in AngularJS
var dorm = {};
dorm.DormitoryAddresses = [];
When attempting this in my Angular4 component class:
this.dorm = {};
this.dorm.DormitoryAddresses = [];
An error is thrown: Property DormitoryAddresses does not exist :(