Engrain by ByteRush

FND.13.01 JuniorCore — asked often

Why types; basic annotations

Comes up in: Recruiter screen

This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.

What it covers

  • what TypeScript is (types erased at build)
  • string, number, boolean, arrays, tuples
  • type inference
  • any vs unknown (intro)
  • running tsc

Words you will know

type annotationtype inferencecompile

What you will practise

  • type 10 functions

Interview questions this answers

  • Why use TypeScript? Does it check types at runtime?
  • What is the difference between any and unknown?