skip to content →
ts-quiz
— ~/playground.ts
tsc --watch
● loading…
TS
home.ts
TS
levels.ts
MD
learn.md
TS
playground.ts
NEW
// playground · live TypeScript sandbox
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// loading Monaco editor…
▾ OUTPUT
◇ tsc 6.0.3 · compiling…
UTF-8
◇ booting playground…
ts-quiz
—
~/playground.ts
● 0 errors
EN ▾
ide
current
TS
home.ts
TS
levels.ts
MD
learn.md
TS
playground.ts
●
TS
challenges.ts
NEW
// playground · live TypeScript sandbox
examples ▾
hello world
type guard
generics
mapped types
conditional types
async / await
readonly class
discriminated union
Ocean
Midnight
Dracula
Forest
Monokai
Nord
▶ Run
live
format
share
reset
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// loading Monaco editor…
▾ OUTPUT
Type or paste TypeScript and watch console output (and errors) appear below.
✓ tsc 6.0.3
UTF-8
◇ ready