function isPropertyChain(prop, node) {
  let value = node
  while (value.parent.type === 'TSAsExpression') {
    value = value.parent
  }
  return prop === value.parent && prop.value === value
}
Checks if the given node is a property value.
@param {Property} prop
@param {Expression} node