Update day8.md

Typing of parameters requires reimplementation in TS.