mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	fix(types): move type annotation for IterMod
				
					
				
			This commit is contained in:
		 Will Hopkins
					Will Hopkins
				
			
				
					committed by
					
						 Lewis Russell
						Lewis Russell
					
				
			
			
				
	
			
			
			 Lewis Russell
						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