What happens if an object does not conform to the defined object type in TypeScript?
The object will still compile but may cause runtime errors.
The TypeScript compiler throws an error.
The object is automatically adjusted to fit the type.
The object type is ignored entirely.
This question is part of this quiz :
Object Types and Interfaces in TypeScript Quiz