Type Annotation (TypeScript)
A type annotation is the part after a colon that tells TypeScript what type a variable, parameter, or return value should be, such as `: number` or `…
A type annotation is the part after a colon that tells TypeScript what type a variable, parameter, or return value should be, such as `: number` or `…