lint: stricter type checking

This commit is contained in:
Steven Arcangeli 2024-08-30 17:09:56 -07:00
parent f60bb7f793
commit 1360be5fda
9 changed files with 25 additions and 3 deletions

View file

@ -176,6 +176,7 @@ function SSHConnection.new(url)
end
end)
---@cast self oil.sshConnection
return self
end

View file

@ -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),
}, {