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.
Glossary: Building APIs with Node.js
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.