Skip to content

Commit 726b372

Browse files
authored
docs(MatchTicker): add some missing return annos (#7332)
1 parent 5819eb0 commit 726b372

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lua/wikis/commons/Widget/Match/Ticker/Container.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ function MatchTickerContainer:render()
5050
local devFlag = FeatureFlag.get('dev')
5151

5252
---@param type 'upcoming' | 'recent'
53+
---@return string
5354
local function buildTemplateExpansionString(type)
5455
return String.interpolate(
5556
'#invoke:Lua|invoke|module=${module}|fn=${fn}${args}',
@@ -67,6 +68,7 @@ function MatchTickerContainer:render()
6768
end
6869

6970
---@param type 'upcoming' |'recent'
71+
---@return Renderable
7072
local function callTemplate(type)
7173
local ticker = Lua.import('Module:' .. self.defaultProps.module)
7274
return ticker[self.defaultProps.fn](

0 commit comments

Comments
 (0)