chore: add lsp doc
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user