Trying to unpick typescript as-a-service