function getComponentSlotsFromDefineSlots(context, node) {
  const typeArguments =
    'typeArguments' in node ? node.typeArguments : node.typeParameters
  if (typeArguments && typeArguments.params.length > 0) {
    return getComponentSlotsFromTypeDefine(context, typeArguments.params[0])
  }
  return [
    {
      type: 'unknown',
      slotName: null,
      node: null
    }
  ]
}
Get all slots from `defineSlots` call expression.
@param {RuleContext} context The rule context object.
@param {CallExpression} node `defineSlots` call expression
@return {ComponentSlot[]} Array of component slots