chore: add lsp doc

This commit is contained in:
JuanZoran
2023-03-22 21:55:08 +08:00
parent f63574026a
commit 34a01920a5
6 changed files with 99 additions and 29 deletions

View File

@ -39,7 +39,7 @@ function M.get_query(data)
}
end
---@overload fun(TransData): TransResult
---@overload fun(body: table, data:TransData): TransResult
---Query Using Baidu API
---@param body table BaiduQuery Response
---@return table|false

View File

@ -1,4 +1,4 @@
---@class Offline: TransBackend
---@class TransOfflineBackend
local M = {
name = "offline",
no_wait = true,
@ -175,4 +175,6 @@ function M.formatter(res)
return res
end
---@class TransBackends
---@field offline TransOfflineBackend
return M