TypeScript · Senior · Question 18 of 75

What are Project References (references, composite) for?

Explanation

Each subproject compiles separately and emits .d.ts, and dependent projects use the declarations rather than the sources. This speeds up type checking and enforces boundaries between monorepo packages.

Further reading

Problem with a question

TypeScript · Senior · question 18

Test yourself

Take the TypeScript · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz