What is 'type inference' in TypeScript? | Basics | typescript Interview Questions | NextRound.in