Class: minor formal changes
This commit is contained in:
@@ -16,7 +16,8 @@ end
|
|||||||
---@generic T:table
|
---@generic T:table
|
||||||
---@param self T Parent class.
|
---@param self T Parent class.
|
||||||
---@param params table Child object parameters.
|
---@param params table Child object parameters.
|
||||||
---@param metatable table? The table that will become the metatable for the object. Note: The `__index` field will be overwritten by a copy of `self`.
|
---@param metatable table? The table that will become the metatable for the object.
|
||||||
|
--- Note: The `__index` field will be overwritten by a copy of `self`.
|
||||||
---@return T
|
---@return T
|
||||||
function Class.getInstance(self, params, metatable)
|
function Class.getInstance(self, params, metatable)
|
||||||
if metatable == nil then
|
if metatable == nil then
|
||||||
|
|||||||
Reference in New Issue
Block a user