Решение учителя так же не приходит тесты, в тестах нет информации о точной формулировке ошибки (если это важно)
`
RUN v3.2.4 /exercises-typescript/modules/25-types/25-literal-types
stdout | test.ts
[ 'turtle', null, null, null, null ]
⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL test.ts [ test.ts ]
Error: Out of bounds
❯ makeTurn2 index.ts:17:13
15|
16| if (nextIndex < 0 || nextIndex > 4) {
17| throw new Error('Out of bounds');
| ^
18| }
19|
❯ index.ts:34:1
❯ test.ts:3:1`