Skip to content

Commit ce7d618

Browse files
committed
cleanup annotations
1 parent 61c57ce commit ce7d618

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

TalentTreeViewer/TalentViewer.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
--- @type TalentViewer_NS
2-
local name, ns = ...
1+
local name = ...
2+
--- @class TalentViewer_NS
3+
local ns = select(2, ...)
34

45
if LE_EXPANSION_LEVEL_CURRENT <= LE_EXPANSION_SHADOWLANDS then print(name, 'requires Dragonflight to work') return end
56

@@ -35,7 +36,7 @@ local cache = {
3536
TalentViewer.cache = cache
3637
---@type LibTalentTree
3738
local LibTalentTree = LibStub('LibTalentTree-1.0')
38-
--- @type LibUIDropDownMenu
39+
--- @type LibUIDropDownMenuNumy
3940
local LibDD = LibStub("LibUIDropDownMenuNumy-4.0")
4041

4142
local L = LibStub('AceLocale-3.0'):GetLocale(name)
@@ -75,7 +76,7 @@ local function OnEvent(_, event, ...)
7576
local addonName = ...
7677
if addonName == name then
7778
TalentViewer:OnInitialize()
78-
if(IsAddOnLoaded('ElvUI')) then TalentViewer:ApplyElvUISkin() end
79+
if(C_AddOns.IsAddOnLoaded('ElvUI')) then TalentViewer:ApplyElvUISkin() end
7980
end
8081
end
8182
end

0 commit comments

Comments
 (0)