Defines a scalar enum as a type from its constructor.
enum Direction { Left, Right };type DirectionType = ScalarEnum<Direction>;
Generated using TypeDoc
Defines a scalar enum as a type from its constructor.
Example