12c12 < tail: *Elephant = null, // <---- make this optional! --- > tail: ?*Elephant = null, // <---- make this optional! 42c42 < if (e.tail == null) ???; --- > if (e.tail == null) break;