We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5819eb0 commit 726b372Copy full SHA for 726b372
1 file changed
lua/wikis/commons/Widget/Match/Ticker/Container.lua
@@ -50,6 +50,7 @@ function MatchTickerContainer:render()
50
local devFlag = FeatureFlag.get('dev')
51
52
---@param type 'upcoming' | 'recent'
53
+ ---@return string
54
local function buildTemplateExpansionString(type)
55
return String.interpolate(
56
'#invoke:Lua|invoke|module=${module}|fn=${fn}${args}',
@@ -67,6 +68,7 @@ function MatchTickerContainer:render()
67
68
end
69
70
---@param type 'upcoming' |'recent'
71
+ ---@return Renderable
72
local function callTemplate(type)
73
local ticker = Lua.import('Module:' .. self.defaultProps.module)
74
return ticker[self.defaultProps.fn](
0 commit comments