Skip to content

Commit

Permalink
fix sign for __pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Oct 21, 2024
1 parent be9ce62 commit b815469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/template/basic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function setfenv(f, table) end
---@field __newindex table|fun(t,k,v)|nil
---@field __call (fun(t,...):...)|nil
---#if VERSION > 5.1 or VERSION == JIT then
---@field __pairs (fun(t):(fun(t,k,v):any,any))|nil
---@field __pairs (fun(t):((fun(t,k,v):any,any),any,any))|nil
---#end
---#if VERSION == JIT or VERSION == 5.2 then
---@field __ipairs (fun(t):(fun(t,k,v):(integer|nil),any))|nil
Expand Down

0 comments on commit b815469

Please sign in to comment.