What is TypeScript?
TypeScript interfaces let the compiler check that the data your code assumes matches the data an API actually returns. Generating them from a real payload is faster and more accurate than writing them by hand, especially for deeply nested responses.