Neo4j interview question

A simple Typescript code challenge