function getPropsDestructure(node) {
  /** @type {ReturnType<typeof getPropsDestructure>} */
  const result = Object.create(null)
  const left = getLeftOfDefineProps(node)
  if (!left || left.type !== 'ObjectPattern') {
    return result
  }
  for (const prop of left.properties) {
    if (prop.type !== 'Property') continue
    const name = getStaticPropertyName(prop)
    if (name != null) {
      result[name] = prop
    }
  }
  return result
}
Gets the props destructure property nodes for defineProp.
@param {CallExpression} node The node of defineProps
@returns { Record<string, AssignmentProperty | undefined> }