What is the primary purpose of defining object types in TypeScript?
To ensure proper data encapsulation
To specify the structure and shape of objects
To enforce access modifiers
To dynamically change an object's properties
This question is part of this quiz :
Object Types and Interfaces in TypeScript Quiz