function getLeftOfDefineProps(node) {
  let target = node
  if (hasWithDefaults(target)) {
    target = target.parent
  }
  if (!target.parent) {
    return null
  }
  if (
    target.parent.type === 'VariableDeclarator' &&
    target.parent.init === target
  ) {
    return target.parent.id
  }
  return null
}
Gets the pattern of the left operand of defineProps.
@param {CallExpression} node The node of defineProps
@returns {Pattern | null} The pattern of the left operand of defineProps