Skip to content

Commit b815469

Browse files
committed
fix sign for __pairs
1 parent be9ce62 commit b815469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meta/template/basic.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ function setfenv(f, table) end
246246
---@field __newindex table|fun(t,k,v)|nil
247247
---@field __call (fun(t,...):...)|nil
248248
---#if VERSION > 5.1 or VERSION == JIT then
249-
---@field __pairs (fun(t):(fun(t,k,v):any,any))|nil
249+
---@field __pairs (fun(t):((fun(t,k,v):any,any),any,any))|nil
250250
---#end
251251
---#if VERSION == JIT or VERSION == 5.2 then
252252
---@field __ipairs (fun(t):(fun(t,k,v):(integer|nil),any))|nil

0 commit comments

Comments
 (0)