Since TypeScript's enum can be inconvenient to work with, some packages define their own enum-like objects:
enum
export const EnumLikeObjectNumValues = { Pending: 1, InProgress: 2, Completed: 3} as const Copy
export const EnumLikeObjectNumValues = { Pending: 1, InProgress: 2, Completed: 3} as const
Use the @enum tag to make TypeDoc document this object as an enum.
@enum
Indicates that a courier is en route delivering this order.
Since TypeScript's
enum
can be inconvenient to work with, some packages define their own enum-like objects:Use the
@enum
tag to make TypeDoc document this object as an enum.