Declaration files and module resolution
Comes up in: Coding
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
.d.tsfiles@typesdeclare module- augmenting globals and modules
moduleResolutionmodesexports/typesin package.json for libraries
Words you will know
What you will practise
- add types for an untyped package
Interview questions this answers
- What is a
.d.tsfile? - How do you add types to a third-party library that has none?