TypeScript State Machine s Predlošcima Literal Types: Validacija stanja u vrijeme kompajliranja | MLOG | MLOG