fix: type annotations and type errors
This commit is contained in:
parent
0ccf95ae5d
commit
47c7737618
16 changed files with 83 additions and 22 deletions
|
|
@ -16,7 +16,7 @@ local spinners = {
|
|||
}
|
||||
|
||||
---@param name_or_frames string|string[]
|
||||
---@return fun()
|
||||
---@return fun(): string
|
||||
M.get_iter = function(name_or_frames)
|
||||
local frames
|
||||
if type(name_or_frames) == "string" then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue