fix: remaining type errors
This commit is contained in:
parent
ebf9337b32
commit
8f7807946a
7 changed files with 64 additions and 44 deletions
|
|
@ -116,7 +116,7 @@ end
|
|||
---Add all actions affecting children of the url
|
||||
---@param url string
|
||||
---@param ret oil.InternalEntry[]
|
||||
---@param filter nil|fun(entry: oil.InternalEntry): boolean
|
||||
---@param filter nil|fun(entry: oil.Action): boolean
|
||||
function Trie:accum_children_of(url, ret, filter)
|
||||
local pieces = self:_url_to_path_pieces(url)
|
||||
local current = self.root
|
||||
|
|
@ -136,7 +136,7 @@ end
|
|||
---Add all actions at a specific path
|
||||
---@param url string
|
||||
---@param ret oil.InternalEntry[]
|
||||
---@param filter? fun(entry: oil.InternalEntry): boolean
|
||||
---@param filter? fun(entry: oil.Action): boolean
|
||||
function Trie:accum_actions_at(url, ret, filter)
|
||||
local pieces = self:_url_to_path_pieces(url)
|
||||
local current = self.root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue