From 4273e96c82faf53b777c191f8b82356186782d02 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Thu, 26 Dec 2024 21:01:36 +0100 Subject: [PATCH] Fix up some group leader apis --- api/PromoteToAssistant.lua | 4 ++-- api/UnitIsGroupLeader.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/PromoteToAssistant.lua b/api/PromoteToAssistant.lua index af8e986..577a0b9 100644 --- a/api/PromoteToAssistant.lua +++ b/api/PromoteToAssistant.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ---@param unit string ----@param name string ----@param exactMatch boolean ---Promotes a raid member to raid assistant +---@overload fun(name: string, exactMatch: boolean) +---@overload fun(unit: string) function PromoteToAssistant(unit, name, exactMatch) end \ No newline at end of file diff --git a/api/UnitIsGroupLeader.lua b/api/UnitIsGroupLeader.lua index ff9f852..2e4d2b2 100644 --- a/api/UnitIsGroupLeader.lua +++ b/api/UnitIsGroupLeader.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ---@param unit string ----@param name string ----@return bool leader +---@return boolean leader ---Returns whether a unit is the raid leader. +---@overload fun(name: string) function UnitIsGroupLeader(unit, name) end \ No newline at end of file