Value Objects – DDD with TypeScript
In Domain-Driven Design, Value Objects are one of the two primitive concepts that help us to create rich and encapsulated domain models. The way that we determine that identity helps us determine whether it’s an Entity or a Value Object. We introduce value object classes to encapsulate where validation should occur and to satisfy the invariants (validation & domain rules) of our models.
Source: khalilstemmler.com