TypeScript Object Types

Syntax: example code: Type Inference: TypeScript inference let the compiler automatically detect the data type of a value based on its assigned value. we does not need to always have to explicitly specify the data type of a variable, allowing you to write more better concise code.