@tlua/tlua-win32-x64 0.0.40 → 0.0.42
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/lib/lib.luajit.d.tlua +4 -4
- package/lib/tlua.exe +0 -0
- package/package.json +2 -2
package/lib/lib.luajit.d.tlua
CHANGED
|
@@ -171,7 +171,7 @@ declare function select(index: "#", ...: any): number;
|
|
|
171
171
|
// fallback for a shadowed or aliased select the refinement does not reach.
|
|
172
172
|
declare function select(index: number, ...: any): (any?, ...any);
|
|
173
173
|
declare function setfenv(target: number | function, environment: table): function;
|
|
174
|
-
declare function setmetatable<T extends table>(value: T, metatable: LuaMetatable<T
|
|
174
|
+
declare function setmetatable<T extends table>(value: T, metatable: LuaMetatable<NoInfer<T>> | nil): T;
|
|
175
175
|
declare function tonumber(value: any, base?: number): number | nil;
|
|
176
176
|
declare function tostring(value: any): string;
|
|
177
177
|
declare function type(value: any): "nil" | "number" | "string" | "boolean" | "table" | "function" | "thread" | "userdata" | "cdata";
|
|
@@ -213,8 +213,8 @@ declare function xpcall(fn: function, handler: (message: any) => any, ...: any):
|
|
|
213
213
|
* shadowed local of either name keeps whatever it declares. Both signatures still
|
|
214
214
|
* carry the contract this file can express: the parameter type is what validates a
|
|
215
215
|
* metatable's metamethods, and precision comes from the metatable a call passes,
|
|
216
|
-
* since LuaMetatable<T> | nil names no particular fallback
|
|
217
|
-
* __tostring and ffi.metatype.
|
|
216
|
+
* since LuaMetatable<T> | nil names no particular fallback; NoInfer pins it so only
|
|
217
|
+
* the table operand chooses T. Still uninterpreted: __tostring and ffi.metatype.
|
|
218
218
|
*/
|
|
219
219
|
|
|
220
220
|
interface CoroutineLib {
|
|
@@ -453,7 +453,7 @@ interface DebugLib {
|
|
|
453
453
|
sethook(thread: thread, hook?: function, mask?: string, count?: number): void;
|
|
454
454
|
setlocal(level: number, localIndex: number, value: any): string | nil;
|
|
455
455
|
setlocal(thread: thread, level: number, localIndex: number, value: any): string | nil;
|
|
456
|
-
setmetatable<T extends table>(value: T, metatable: LuaMetatable<T
|
|
456
|
+
setmetatable<T extends table>(value: T, metatable: LuaMetatable<NoInfer<T>> | nil): T;
|
|
457
457
|
setmetatable<T>(value: T, metatable: table | nil): T;
|
|
458
458
|
setupvalue(fn: function, index: number, value: any): string | nil;
|
|
459
459
|
traceback(message?: any, level?: number): string;
|
package/lib/tlua.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tlua/tlua-win32-x64",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "tlua",
|
|
6
6
|
"homepage": "https://github.com/apyrr/tlua",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"exports": {
|
|
33
33
|
"./package.json": "./package.json"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "deac20a503180ea084106ab4ccd2fb5858dc270a",
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public",
|
|
38
38
|
"tag": "latest"
|