TypeScript supports type inference, a mechanism that automatically infers the type of a variable based on its initial value. This means that if you
initialize a variable with a particular value, TypeScript will assume that this variable should always hold that type of value.
Unnecessarily verbose declarations and initializations make it harder to read the code and should be simplified. Therefore, type annotations should
be omitted from variable and parameter declarations when they can be easily inferred from the initialized or defaulted value.