fix: types (#1344)

This commit is contained in:
yetone
2025-02-22 23:24:20 +08:00
committed by GitHub
parent 0704a5820a
commit b04bffa441
23 changed files with 493 additions and 328 deletions

View File

@@ -408,6 +408,7 @@ M._defaults = {
}
---@type avante.Config
---@diagnostic disable-next-line: missing-fields
M._options = {}
---@type Provider[]
@@ -450,7 +451,7 @@ function M.setup(opts)
end
end
---@param opts? avante.Config
---@param opts table<string, any>
function M.override(opts)
vim.validate({ opts = { opts, "table", true } })