Zalando interview question

typescript structures and a live code