Tags→#typescript
Typescript: don't use interfaces
Use types instead of interfaces in Typescript. Except when you have to use interface.
Typescript: do not use enums
Typescript enums are bad. Never use them, use a record as const instead. Note: This still applies after the 5.0 release with enum improvements (they are now bad instead of terrible).