contextual typing
TypeScript working out a type from where a value is used. In `printTable(2, (n) => ...)`, `n` is a number because `printTable` says its callback takes a number.
TypeScript working out a type from where a value is used. In `printTable(2, (n) => ...)`, `n` is a number because `printTable` says its callback takes a number.