Now More Immutable!
- Use
Object.freeze()to make data immutable at run time. - Simplify some code because defensive copies are no longer necessary.
- Add several new unit tests and tslint tests to verify immutability (both compile-time and run-time).
Object.freeze() to make data immutable at run time.