lint: stricter type checking
This commit is contained in:
parent
f60bb7f793
commit
1360be5fda
9 changed files with 25 additions and 3 deletions
|
|
@ -210,6 +210,7 @@ local function read_trash_info(info_file, cb)
|
|||
cb(".trashinfo file points to non-existant file")
|
||||
else
|
||||
trash_info.stat = trash_stat
|
||||
---@cast trash_info oil.TrashInfo
|
||||
cb(nil, trash_info)
|
||||
end
|
||||
end)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ function PowershellConnection.new(init_command)
|
|||
|
||||
self:_init(init_command)
|
||||
|
||||
---@type oil.PowershellConnection
|
||||
return self
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue