diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/template/basic.lua | 4 | ||||
-rw-r--r-- | meta/template/debug.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua index 4509258e..8cae0ef5 100644 --- a/meta/template/basic.lua +++ b/meta/template/basic.lua @@ -209,8 +209,8 @@ function select(index, ...) end function setfenv(f, table) end ---#DES 'setmetatable' ----@param table table ----@param metatable table +---@param table table +---@param metatable? table ---@return table function setmetatable(table, metatable) end diff --git a/meta/template/debug.lua b/meta/template/debug.lua index f62aca6e..7cb417b2 100644 --- a/meta/template/debug.lua +++ b/meta/template/debug.lua @@ -167,7 +167,7 @@ function debug.setlocal(thread, level, index, value) end ---#DES 'debug.setmetatable' ---@generic T ---@param value T ----@param meta table +---@param meta? table ---@return T value function debug.setmetatable(value, meta) end |