mirror of
https://github.com/MincoMK/computercraft-ts.git
synced 2025-12-10 06:23:19 +00:00
fix: multi return
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "computercraft-ts",
|
||||
"version": "1.0.10",
|
||||
"version": "1.0.11",
|
||||
"description": "",
|
||||
"license": "ISC",
|
||||
"author": "",
|
||||
|
||||
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
@@ -241,7 +241,7 @@ declare global {
|
||||
function receive(
|
||||
protocolFilter?: string,
|
||||
timeout?: number,
|
||||
): LuaMultiReturn<[number, RednetData, string | null]> | null;
|
||||
): LuaMultiReturn<[number, RednetData, string | null]>;
|
||||
|
||||
/**
|
||||
* Register the system as "hosting" the desired protocol under the specified name. If a rednet lookup is performed for that protocol (and maybe name) on the same network, the registered system will automatically respond via a background process, hence providing the system performing the lookup with its ID number.
|
||||
|
||||
Reference in New Issue
Block a user