fix: type annotations and type errors

This commit is contained in:
Steven Arcangeli 2023-08-12 20:32:52 -07:00
parent 0ccf95ae5d
commit 47c7737618
16 changed files with 83 additions and 22 deletions

View file

@ -136,7 +136,7 @@ M.get_entry_by_url = function(url)
return cache and cache[name]
end
---@param oil.Action
---@param action oil.Action
M.perform_action = function(action)
if action.type == "create" then
local scheme, path = util.parse_url(action.url)