This is a project the demonstrates some tips for programming in Typescript
- Forget using
enum
to constrain values, usetype
- Forget
while
, usefor(;;)
- Forget function parameters, use a function config
- Program to the interface
- Remember the principles of Object Oriented Programming