Frage im Vorstellungsgespräch bei Sherpa (Canada)

Typescript coding challenge [ type, interface needed to add where repeative code]