Type annotations
Every parameter and return type adds a colon and a type name. Typing them smoothly keeps type safety from feeling like a slowdown.
Type real TypeScript: interfaces, generics, union types and a React component. TypeScript adds colons, angle brackets and pipes on top of JavaScript, so this page drills exactly those.
4 snippets · key symbols: : < > | ? { } =>
TypeScript has its own set of symbols and patterns. Typing them in real code, with Enter and auto-indent like your editor, builds speed where it matters.
A little. It adds colons, angle brackets, pipes and question marks. With practice they become as quick as letters.
The shift-row symbols: colon, angle brackets, pipe, question mark and curly braces.