Type inference is TypeScript figuring out types automatically from context, so you don't have to annotate everything. It infers from initial values, return statements, and usage.
ts
let x = 10; // inferred: number
let s = "hi"; // inferred: string
const arr = [1, ];
obj = { : , : };
