Trying to model the types for a function:
function getDeep (object, property) { return property.length <= 0 ? object : getDeep(object[property[