lint: stricter type checking
This commit is contained in:
parent
f60bb7f793
commit
1360be5fda
9 changed files with 25 additions and 3 deletions
|
|
@ -176,6 +176,7 @@ function SSHConnection.new(url)
|
|||
end
|
||||
end)
|
||||
|
||||
---@cast self oil.sshConnection
|
||||
return self
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ end
|
|||
---@param url oil.sshUrl
|
||||
---@return oil.sshFs
|
||||
function SSHFS.new(url)
|
||||
---@type oil.sshFs
|
||||
return setmetatable({
|
||||
conn = SSHConnection.new(url),
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue