Neo4j Interview Question

A simple Typescript code challenge