Skip to content

Commit 2d50d5b

Browse files
committed
std api
1 parent 6844e96 commit 2d50d5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

res/std/debug.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function debug.getuservalue(u, n) end
141141
--- call `getinfo` with level 2 to get more information about the running
142142
--- function (level 0 is the `getinfo` function, and level 1 is the hook
143143
--- function)
144-
---@overload fun(hook:fun():any, mask:any)
144+
---@overload fun(hook:(fun():any), mask:any)
145145
---@param thread thread
146146
---@param hook fun():any
147147
---@param mask string

res/std/global.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function getmetatable(object) end
103103
--- the first absent index.
104104
---@generic V
105105
---@param t table<number, V>
106-
---@return fun(tbl: table<number, V>):(number, V)
106+
---@return fun(tbl: table<number, V>):number, V
107107
function ipairs(t) end
108108

109109
---
@@ -187,7 +187,7 @@ function next(table, index) end
187187
--- traversal.
188188
---@generic V
189189
---@param t table<string, V>
190-
---@return fun(tbl: table<string, V>):(string, V)
190+
---@return fun(tbl: table<string, V>):string, V
191191
function pairs(t) end
192192

193193
---

0 commit comments

Comments
 (0)