Skip to content
TypingGalaxy

TypeScript Code Typing Test

About this test

TypeScript adds type annotations to JavaScript, so colons, angle brackets and pipes appear far more often than in plain JavaScript. Colons after every parameter and generic brackets like Array<string> are where TypeScript typists lose the most time.

Symbols in these TypeScript snippets

Symbols make up 20.5 of every 100 characters in these TypeScript lines, and 63% of them need Shift. The table shows the eight that appear most often.

The most common symbols in the TypeScript snippets, per 100 characters typed
SymbolPer 100 charactersNeeds Shift
:2.8Yes
;1.7No
=1.6No
(1.6Yes
)1.6Yes
>1.5Yes
{1.3Yes
}1.3Yes

Tips for typing TypeScript

  • Drill the colon: it needs Shift and the right pinky, and TypeScript uses it after nearly every parameter.
  • Type generics as a pair: write < and > together, then fill in the type.
  • Practise the pipe (|) for union types; it sits above Enter and is easy to miss.

Frequently asked questions

How are snippets scored?
Exactly like prose: every character including brackets, quotes and operators counts, and the key heatmap shows which symbols cost you the most time.
Do I type the indentation?
Snippets are shown as single lines with one space between tokens, so you focus on symbols and operators rather than whitespace.
What is a good typing speed for TypeScript developers?
50 to 70 WPM on code is strong. Symbol accuracy matters more than raw speed; most developers lose time on brackets, quotes and the pinky-column keys.
How is this different from the JavaScript test?
The snippets carry type annotations, interfaces and generics, so you type more colons and angle brackets per line. The symbol table on this page shows exactly how often.