Skip to content

Glossary: Building APIs with Node.js

Record

Also written: Record<Status, Status[]>

A TypeScript type mapping each key to a value type. Here `Record<Status, Status[]>` makes `tsc` complain if a status is missing.

Where the book teaches it

Related terms

Order status flow