fix(types): move type annotation for IterMod

This commit is contained in:
Will Hopkins 2024-03-02 14:39:25 -08:00 committed by Lewis Russell
parent 85b13751a5
commit 191cca2566

View File

@ -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]]