mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 04:18:18 +00:00
fix(types): move type annotation for IterMod
This commit is contained in:

committed by
Lewis Russell

parent
85b13751a5
commit
191cca2566
@@ -1140,9 +1140,8 @@ function M.map(f, src, ...)
|
|||||||
return Iter.new(src, ...):map(f):totable()
|
return Iter.new(src, ...):map(f):totable()
|
||||||
end
|
end
|
||||||
|
|
||||||
---@type IterMod
|
|
||||||
return setmetatable(M, {
|
return setmetatable(M, {
|
||||||
__call = function(_, ...)
|
__call = function(_, ...)
|
||||||
return Iter.new(...)
|
return Iter.new(...)
|
||||||
end,
|
end,
|
||||||
})
|
}) --[[@as IterMod]]
|
||||||
|
Reference in New Issue
Block a user