Engrain by ByteRush

TS.09.02 Senior

Performance, project references and TS 7

Comes up in: Web fundamentals, Hiring manager

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 makes type checking slow (huge unions, deep instantiation)
  • --extendedDiagnostics, --generateTrace
  • project references and --build
  • TS 7 native compiler (speed, --builders, no stable API in 7.0
  • editor/tooling status) — facts

Words you will know

project referenceincremental build

What you will practise

  • profile a slow type and fix it

Interview questions this answers

  • Your type checking takes 3 minutes. How do you investigate?