@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.
Files changed (2) hide show
  1. package/include/lua.d.ts +1 -1
  2. 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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.793",
3
+ "version": "1.0.794",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },