@rbxts/types 1.0.793 → 1.0.794
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/lua.d.ts +1 -1
- package/package.json +1 -1
package/include/lua.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ interface LuaMetatable<T> {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/** Sets the metatable for the given table. If `metatable` is nil, the metatable of the given table is removed. If the original metatable has a "__metatable" field, this will raise an error. This function returns the table t, which was passed to the function. */
|
|
104
|
-
declare function setmetatable<T extends object>(object: T, metatable: LuaMetatable<T>): T;
|
|
104
|
+
declare function setmetatable<T extends object>(object: T, metatable: LuaMetatable<T> | undefined): T;
|
|
105
105
|
|
|
106
106
|
/** An object the represents a date or time. Used with `os.date` and `os.time`. */
|
|
107
107
|
interface DateTable {
|