mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
fix(types): move type annotation for IterMod
This commit is contained in:
parent
85b13751a5
commit
191cca2566
@ -1140,9 +1140,8 @@ function M.map(f, src, ...)
|
||||
return Iter.new(src, ...):map(f):totable()
|
||||
end
|
||||
|
||||
---@type IterMod
|
||||
return setmetatable(M, {
|
||||
__call = function(_, ...)
|
||||
return Iter.new(...)
|
||||
end,
|
||||
})
|
||||
}) --[[@as IterMod]]
|
||||
|
Loading…
Reference in New Issue
Block a user