refactor: fix config type annotations
This commit is contained in:
parent
7c198a1b36
commit
d1eaebab6b
3 changed files with 8 additions and 8 deletions
|
|
@ -7,11 +7,14 @@ config["can be called without any arguments passed"] = function()
|
|||
end
|
||||
|
||||
config["can be called with empty table"] = function()
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
require("gopher").setup {}
|
||||
end
|
||||
|
||||
config["should change option"] = function()
|
||||
local log_level = 1234567890
|
||||
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
require("gopher").setup {
|
||||
log_level = log_level,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue